Vulnerability · Published Apr 8, 2026 · Assigned by GitHub_M
CVE-2026-39411LobeHub has an unauthenticated authentication bypass on `webapi` routes via forgeable `X-lobe-chat-auth` header
Medium 5.0
In plain English
A medium-severity improper authentication in lobehub from lobehub. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
LobeHub is a work-and-lifestyle space to find, build, and collaborate with agent teammates that grow with you. Prior to 2.1.48, 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 /webapi/chat/[provider], /webapi/models/[provider], /webapi/models/[provider]/pull, and /webapi/create-image/comfyui. This vulnerability is fixed in 2.1.48.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @lobehub/lobehub | 2.1.48 | GHSA-5mwj-v5jw-5c97 |
Affected products (as reported)
Weakness: CWE-287, CWE-290, CWE-345 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- https://github.com/lobehub/lobehub/security/advisories/GHSA-5mwj-v5jw-5c97 x_refsource_CONFIRM
- https://github.com/lobehub/lobehub/pull/13535 x_refsource_MISC
- https://github.com/lobehub/lobehub/commit/3327b293d66c013f076cbc16cdbd05a61a3d0428 x_refsource_MISC
- https://github.com/lobehub/lobehub/releases/tag/v2.1.48 x_refsource_MISC