Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | This vulnerability presents a contradiction between its nominal CVSS score and real-world impact. The CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L vector assigns a score of 5.0 (moderate) and specifies PR:L, indicating low-privilege authentication is required-yet the description and confirmed proof-of-concept demonstrate unauthenticated bypass. This discrepancy suggests either the CVSS vector mischaracterizes the attack surface or the POC requires an initial low-privilege login that the advisory does not emphasize. The presence of a working, publicly disclosed POC (X-lobe-chat-auth: N00DFSE+B1ngjQI0TR8=) with reproducible curl examples elevates practical exploitability beyond the AC:H (high complexity) rating. The core issue-trusting unsigned, client-supplied, obfuscated data as an auth decision-is a textbook authentication failure (CWE-287, CWE-345, CWE-290). In deployments with server-side provider credentials (OpenAI, Anthropic, Cohere keys) configured, the impact escalates to credential theft and billable API consumption. The CVSS does not capture multi-user impersonation risk (userId field forgery) or denial-of-service via quota exhaustion. Real-world risk is high for any production LobeHub instance with backend API keys configured; low-complexity exploitation negates the AC:H signal. Patch availability (v2.1.48) and straightforward fix reduce long-term risk, but unpatched instances remain critical. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts an X-lobe-chat-auth header using the public XOR key ("LobeHub · LobeHub") and a minimal payload such as {"apiKey":"x"} to generate N00DFSE+B1ngjQI0TR8=, then sends a GET request to https://target-lobehub.com/webapi/models/openai with that header. If the server has OPENAI_API_KEY configured, the request succeeds and returns the available model list and pricing, allowing the attacker to enumerate and invoke API calls against the deployment's credentials. Alternatively, the attacker forges a payload containing a victim's userId to impersonate that user and trigger model pulls or chat operations attributed to the victim account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Authentication bypass in LobeHub webapi allows unauthenticated attackers to forge X-lobe-chat-auth headers using a publicly disclosed XOR key, gaining unauthorized access to protected routes including chat, model listing, and image generation endpoints. The vulnerability affects LobeHub versions up to 2.1.47 and has a confirmed proof-of-concept; however, the CVSS vector indicates PR:L (low privilege required), suggesting the advertised attack may require some initial authentication. Vendor-released patch version 2.1.48 is available.
RemediationAI
Upgrade to LobeHub version 2.1.48 or later (https://github.com/lobehub/lobehub/releases/tag/v2.1.48). The patch implements proper session-based or OIDC token validation for webapi routes and removes reliance on XOR-obfuscated headers as authentication. For deployments unable to upgrade immediately, disable or restrict network access to /webapi/* endpoints, implement WAF rules to block X-lobe-chat-auth headers not bound to valid server-side sessions, and rotate any server-side provider API credentials (OPENAI_API_KEY, etc.) that may have been exposed. See patch details in https://github.com/lobehub/lobehub/pull/13535 and https://github.com/lobehub/lobehub/commit/3327b293d66c013f076cbc16cdbd05a61a3d0428.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LobeHub's webapi authentication layer implements a flawed custom scheme where frontend clients XOR-obfuscate JSON authentication payloads using a static hardcoded key ('LobeHub · LobeHub') stored in the repository source code. The backend decodes this XOR-obfuscated X-lobe-chat-auth header and treats the resulting JSON-specifically any truthy apiKey field-as sufficient proof of authentication without cryptographic verification or signature validation. This is a fundamental misuse of symmetric obfuscation as an authentication mechanism; obfuscation without signing or authentication tags provides no security boundary when the key is public. The affected routes (POST /webapi/chat/[provider], GET /webapi/models/[provider], POST /webapi/models/[provider]/pull, POST /webapi/create-image/comfyui) are protected by this broken scheme, allowing attackers to fabricate arbitrary payloads and inject forged userId values to impersonate other users or consume server-side API credentials configured via environment variables such as OPENAI_API_KEY.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
Summary
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]/pullPOST /webapi/create-image/comfyui
Details
The frontend creates X-lobe-chat-auth by XOR-obfuscating JSON with the static key LobeHub · LobeHub, and the backend reverses that operation and treats the decoded JSON as trusted authentication data.
The backend then accepts any truthy apiKey field in that decoded payload as sufficient authentication. No real API key validation is performed in this path.
As a result, an unauthenticated attacker can forge payloads such as:
{"apiKey":"x"}or
and access webapi routes as an authenticated user.
Confirmed PoC
The following forged header was generated directly from the published XOR key using payload {"apiKey":"x"}:
That header decodes server-side to:
A simple request is:
-H 'X-lobe-chat-auth: N00DFSE+B1ngjQI0TR8=' `
If the deployment has OPENAI_API_KEY configured, the request should succeed without a real login and return the provider model list.
A forged impersonation payload also works conceptually:
### Impact
This is an unauthenticated authentication bypass.
An attacker can:
1. access protected webapi routes without a valid session
2. spend the deployment's server-side model provider credentials when env keys like OPENAI_API_KEY are configured
3. impersonate another user's userId for routes that load per-user provider configuration
4. invoke privileged backend model operations such as chat, model listing, model pulls, and ComfyUI image generation
### Root Cause
The core issue is trusting unsigned client-supplied auth data:
1. the auth header is only obfuscated, not authenticated
2. the obfuscation key is hardcoded and recoverable from the repository
3. the decoded apiKey field is treated as sufficient authentication even though it is never validated in this code path
4. Suggested Remediation
5. Stop treating X-lobe-chat-auth as an authentication token.
6. Remove the apiKey truthiness check as an auth decision.
7. Require a real server-validated session, OIDC token, or validated API key for all protected webapi routes.
8. If a client payload is still needed, sign it server-side with an HMAC or replace it with a normal session-bound backend lookup.
9. Affected Products
Ecosystem: npm
Package name: @lobehub/lobehub
Affected versions: <= 2.1.47
Patched versions: 2.1.48
Severity
Moderate
Vector String
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-287: Improper Authentication
CWE-345: Insufficient Verification of Data Authenticity
CWE-290: Authentication Bypass by SpoofingThreat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-20598
GHSA-5mwj-v5jw-5c97
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB