LobeHub: Unauthenticated authentication bypass on `webapi` routes via forgeable `X-lobe-chat-auth` header
CVE-2026-39411 · GHSA-5mwj-v5jw-5c97 · published 2026-04-08 · updated 2026-04-09
- Severity
- Medium
- CVSS score
- 5.0
- Chance of exploitation (EPSS)
- 0.15%
- Fixed in
- Not on npm
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
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
npm does not serve the fixed version this advisory names for @lobehub/lobehub (2.1.48). The newest release on npm when checked on 2026-12-06 was 2.1.26; the advisory lists it as affected. Until npm serves a fixed release, limit what @lobehub/lobehub can reach or stop using it, and follow the source advisory for updates.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| @lobehub/lobehub | npm | <= 2.1.47 | 2.1.48 (not on npm) |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalJupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fixjupyter-mcp-server
- CriticalUnauthenticated Superuser Token Issuance via Default-Enabled auto_login Endpointlangflow
- CriticalLobeHub: Unauthenticated SSRF in `/webapi/proxy`@lobehub/lobehub
- MediumLobeHub has a Cross-Site Scripting issue that escalates to Remote Code Execution@lobehub/lobehub
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.