{"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":"GHSA-5mwj-v5jw-5c97 affects @lobehub/lobehub versions up to and including 2.1.47. The webapi authentication layer trusts the client-supplied X-lobe-chat-auth header, which is only XOR-obfuscated with a hardcoded key, and accepts any truthy apiKey in the decoded payload without validation, allowing an unauthenticated attacker to reach protected routes such as POST /webapi/chat/[provider] and GET /webapi/models/[provider] and to use the deployment's configured provider credentials and impersonate userIds. The advisory is rated Moderate (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L) and maps to CWE-287, CWE-345 and CWE-290.","solution":"Fixed in 2.1.48 (patched version: @lobehub/lobehub 2.1.48). The source also suggests requiring a server-validated session, OIDC token or validated API key for protected webapi routes, removing the apiKey truthiness check as an auth decision, and signing any client payload server-side with an HMAC or replacing it with a 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)"],"affectedPackageNames":["@lobehub/lobehub"],"affectedPackageRefs":["npm:@lobehub/lobehub"],"affectedVendors":[],"affectedVendorsRaw":["LobeHub","LobeChat","OpenAI","ComfyUI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00131,"epssCheckedAt":"2026-11-23T00:10:10.976Z","kevDateAdded":null,"advisoryAliases":["GHSA-5mwj-v5jw-5c97"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-04-08T15:04:30.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":"2026-11-20T12:10:27.392Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"api","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"@lobehub/lobehub","fixedVersion":"2.1.48","matchedVersion":null,"fixReleasedAt":null,"daysToFix":null,"match":"ecosystem","source":"registry","status":"version_not_found","checkedAt":"2026-11-20T12:10:27.390Z"}]}}