LobeHub has an unauthenticated authentication bypass on `webapi` routes via forgeable `X-lobe-chat-auth` header
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| lobehub | lobehub | before 2.1.48 | 2.1.48 | Patch available | CNA |
| — | @lobehub/lobehub (npm) | before 2.1.48 | 2.1.48 | Patch available | GHSA-5mwj-v5jw-5c97 |
- lobehub Vendorlobehub Affected before 2.1.48 Fixed in 2.1.48 Patch available CNA
- @lobehub/lobehub (npm) Vendor— Affected before 2.1.48 Fixed in 2.1.48 Patch available GHSA-5mwj-v5jw-5c97
Remediation
- Fix · CNA lobehub (lobehub) Fixed in 2.1.48
- Fix · GHSA-5mwj-v5jw-5c97 @lobehub/lobehub (npm) Fixed in 2.1.48 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39411
- 2026-10-03 Alias added: GHSA-5mwj-v5jw-5c97
References
Advisory 2
Sources
- CVE-2026-39411 · CVE Program
- CVE-2026-39411 · NVD
- FIRST EPSS
- GHSA-5mwj-v5jw-5c97 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences