Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed /v1 endpoint
-
DeliverySend request with forged Host: localhost
-
ExploitBypass API-key auth as 'local'
-
ExecutionInvoke /v1/search searxng baseUrl or upstream proxy
-
PersistReach internal/metadata host or spend provider credentials
-
ImpactExfiltrate credentials/metadata
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the 9Router /v1 proxy is network-reachable by the attacker (default configuration is explicitly stated as vulnerable) and that the server derives 'local request' trust from the Host header - satisfied on all versions before 0.5.2. The credential-abuse impact requires that provider credentials are stored/configured in the instance; the SSRF-to-metadata impact requires the searxng provider path (/v1/search with provider_options.baseUrl) to be available. Limiting factors: exploitation is neutralized if 9Router is not exposed beyond loopback/trusted networks or sits behind a proxy that rewrites the Host header, and it is fixed entirely in 0.5.2. No authentication and no user interaction are required (PR:N/UI:N). |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N, base 8.2) is internally consistent with the description: network reachable, low complexity, no privileges, no user interaction, high confidentiality impact (credential exposure and metadata theft) and limited integrity impact. The bypass is trivial - a single forged header - which argues for genuine priority wherever 9Router is internet-exposed in default configuration. EPSS and KEV data were not supplied, so real-world exploitation volume cannot be quantified from this input; treat exploitation likelihood as unquantified rather than low. The scope is marked Unchanged (S:U), but note the SSRF secondary effect arguably reaches other systems - the metadata/internal-host pivot could justify a higher real-world impact than the raw S:U vector implies; verify against deployment topology. Overall: a real, easily exploitable priority for exposed instances, tempered by the fact that 9Router is a niche product with limited deployment footprint. |
| Exploit ScenarioDerived | An attacker who can reach an internet-exposed 9Router instance sends a /v1 request with a spoofed 'Host: localhost' header, which the server trusts as a local call and processes without an API key. The attacker then issues upstream LLM calls billed to the victim's stored provider credentials, and submits a /v1/search request with searxng provider_options.baseUrl set to http://169.254.169.254/ to read cloud-metadata (or internal service) responses. No public exploit is identified at time of analysis, but the one-line header forgery makes weaponization trivial. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Authentication bypass in 9Router (decolua/9router) before 0.5.2 lets a remote unauthenticated attacker forge a 'Host: localhost' header so the /v1 LLM proxy treats the request as local and skips API-key checks. Once past authentication, an attacker abuses stored provider credentials for upstream LLM calls and leverages /v1/search's searxng provider_options.baseUrl to force server-side requests to internal or cloud-metadata endpoints (SSRF). No public exploit identified at time of analysis, though the fixing commit is public, and EPSS/KEV signals are not provided.
RemediationAI
Vendor-released patch: version 0.5.2 - upgrade all 9Router instances to 0.5.2 or later, which corrects how local/loopback requests are determined (fix commit b282f0554972ea35281520738759d76abcd0b0b3; advisory GHSA-86m2-fcxq-5q7c). If you cannot upgrade immediately, place 9Router behind a reverse proxy or firewall so that only trusted networks can reach the /v1 endpoints, and configure the proxy to strip or normalize inbound Host headers so external clients cannot assert Host: localhost (trade-off: may require pinning an expected Host/virtual-host and can break multi-host setups). Additionally, restrict outbound network egress from the 9Router host to block access to link-local metadata (169.254.169.254) and internal RFC1918 ranges to blunt the /v1/search SSRF (trade-off: legitimate internal search backends must be explicitly allowlisted), and where feasible disable or restrict the searxng provider or the caller-supplied provider_options.baseUrl parameter. Rotate any provider API keys/credentials stored in 9Router if internet exposure predates patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
9Router is a self-hosted AI/LLM router and token-saving proxy that fronts multiple upstream providers and gates its /v1 endpoints behind an API key. The flaw is a classic CWE-290 (Authentication Bypass by Spoofing): the 'local request' trust decision is derived from the client-supplied Host header rather than from the actual transport source (socket peer address or a trusted reverse-proxy header). Because HTTP Host is fully attacker-controlled, sending Host: localhost impersonates a loopback client. A secondary weakness compounds this: the /v1/search route with the searxng backend accepts a caller-supplied provider_options.baseUrl, turning the trusted proxy into an SSRF pivot toward RFC1918 internal services and cloud metadata endpoints (e.g., 169.254.169.254). Per CPE cpe:2.3:a:decolua:9router, all versions prior to 0.5.2 are affected.
Know when 9Router 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:N/UI:N/S:U/C:H/I:L/A:N
Remote, no-auth, single-header bypass gives AV:N/AC:L/PR:N/UI:N; credential/metadata disclosure is C:H with limited I:L, and the SSRF pivot to other systems justifies S:C.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
9Router is an AI router & token saver. Prior to 0.5.2, 9router determines whether a /v1 LLM proxy request is local by reading the client-controlled Host header, allowing a remote unauthenticated attacker to send Host: localhost and bypass API-key authentication. In the default configuration, this exposes the /v1 proxy to upstream provider calls using stored provider credentials and allows /v1/search with the searxng provider_options.baseUrl parameter to drive server-side requests to internal or cloud-metadata hosts. This issue is fixed in version 0.5.2.
Executive ViewAI
9Router, an open-source LLM API proxy used to centralize authentication and route API requests, contains an authentication bypass vulnerability (CVSS 8.2) allowing unauthenticated remote attackers to forge authentication headers and access the /v1 proxy endpoint without credentials. Exploitation enables attackers to abuse stored LLM provider API keys for unauthorized service consumption and launch server-side request forgery (SSRF) attacks against internal infrastructure and cloud metadata endpoints. Organizations running 9Router versions prior to 0.5.2 face immediate financial risk from unauthorized API usage and operational risk from potential lateral movement to internal systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Implement WAF rules to reject requests containing 'Host: localhost' from external IP ranges; (2) Restrict network access to /v1 endpoints to internal networks only via firewall rules; (3) Immediately rotate all stored LLM provider API credentials and monitor usage for anomalies; (4) Disable the /v1/search endpoint if not actively required; (5) Enable detailed HTTP request logging and configure alerting for requests to /v1 endpoints lacking valid authentication; (6) Implement network egress controls to prevent SSRF attacks to cloud metadata endpoints (169.254.169.254).
Threat 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.
Unauthenticated CRUD on the provider-management API in 9Router (through 0.4.41) lets remote attackers with no credential
Authentication bypass in 9Router (AI router & token saver) prior to 0.5.4 lets any authenticated user disable applicatio
Authorization-gate bypass in 9Router (decolua/9router) before 0.5.2 lets a remote unauthenticated attacker reach protect
Server-Side Request Forgery (SSRF) in 9Router 0.5.4 and earlier allows unauthenticated remote attackers to probe interna
Authentication bypass in 9Router (decolua/9router) versions prior to 0.5.2 lets remote unauthenticated attackers reach p
Server-side request forgery via DNS rebinding in 9Router (decolua/9router) before 0.5.2 allows an authenticated LLM-prox
Authentication bypass in 9Router (npm package '9router') before 0.5.6 lets a remote, unauthenticated attacker reach the
Server-side request forgery (SSRF) in 9Router's Kiro API-key validation endpoint allows authenticated attackers to redir
Remote unauthenticated code execution in 9router 0.4.59 (by decolua) lets an attacker chain three flaws - a hardcoded de
Remote authorization bypass in decolua 9router up to version 0.3.47 allows unauthenticated network attackers to access t
Unauthenticated API key disclosure in 9Router (npm package '9router' by decolua) through version 0.4.41 lets any remote
Improper restriction of excessive authentication attempts (CWE-307) in the 9Router AI router package (decolua/9router) b
EUVD-2026-42930
GHSA-86m2-fcxq-5q7c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB