{"data":{"id":"c36609e6-55ff-457a-8b19-1d1b56f366b2","title":"GHSA-5mwj-v5jw-5c97: LobeHub: Unauthenticated authentication bypass on `webapi` routes via forgeable `X-lobe-chat-auth` header","summary":"LobeHub's webapi routes use a client-controlled header called `X-lobe-chat-auth` for authentication, but it's only XOR-obfuscated (a simple reversible encoding) with a hardcoded key that's visible in the code. An attacker can forge this header to bypass authentication and access protected routes like chat, model listing, and image generation without logging in, potentially using the server's API credentials or impersonating other users.","solution":"Update to LobeHub version 2.1.48 or later, which patches this vulnerability. According to the advisory, the fix involves: stopping use of `X-lobe-chat-auth` as an authentication token, removing the simple apiKey truthiness check as an auth decision, and requiring a real server-validated session, OIDC token (a standard authentication protocol), or validated API key for all protected webapi routes. If client payloads are still needed, they should be signed server-side with an HMAC (a cryptographic signature) or replaced with a normal session-bound backend lookup.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-5mwj-v5jw-5c97","publishedAt":"2026-04-08T15:04:30.000Z","cveId":"CVE-2026-39411","cweIds":null,"cvssScore":null,"cvssSeverity":"medium","severity":"medium","attackType":["other"],"issueType":"vulnerability","affectedPackages":["@lobehub/lobehub@<= 2.1.47 (fixed: 2.1.48)"],"affectedVendors":["LangChain"],"affectedVendorsRaw":["LobeHub","OpenAI"],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0,"patchAvailable":true,"disclosureDate":"2026-04-08T15:04:30.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.85,"researchCategory":null,"atlasIds":null}}