Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @lobehub/lobehub
  4. ›
  5. CVE-2026-39411

CVE-2026-39411: LobeHub: Unauthenticated authentication bypass on `webapi` routes via forgeable `X-lobe-chat-auth` header

April 8, 2026 (updated April 9, 2026)

The webapi authentication layer trusts a client-controlled X-lobe-chat-auth header that is only XOR-obfuscated, not signed or otherwise authenticated. Because the XOR key is hardcoded in the repository, an attacker can forge arbitrary auth payloads and bypass authentication on protected webapi routes.

Affected routes include:

  • POST /webapi/chat/[provider]
  • GET /webapi/models/[provider]
  • POST /webapi/models/[provider]/pull
  • POST /webapi/create-image/comfyui

References

  • github.com/advisories/GHSA-5mwj-v5jw-5c97
  • github.com/lobehub/lobehub
  • github.com/lobehub/lobehub/commit/3327b293d66c013f076cbc16cdbd05a61a3d0428
  • github.com/lobehub/lobehub/pull/13535
  • github.com/lobehub/lobehub/releases/tag/v2.1.48
  • github.com/lobehub/lobehub/security/advisories/GHSA-5mwj-v5jw-5c97
  • nvd.nist.gov/vuln/detail/CVE-2026-39411

Code Behaviors & Features

Detect and mitigate CVE-2026-39411 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.48

Fixed versions

  • 2.1.48

Solution

Upgrade to version 2.1.48 or above.

Impact 5 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-287: Improper Authentication
  • CWE-290: Authentication Bypass by Spoofing
  • CWE-345: Insufficient Verification of Data Authenticity

Source file

npm/@lobehub/lobehub/CVE-2026-39411.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:29 +0000.