Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to 9Router (PR:L)
-
DeliverySpoof Host/forwarding header to pass localhost-only guard
-
ExploitReach /api/mcp//sse plugin route
-
ExecutionSupply malicious custom MCP plugin args
-
Persistchild_process.spawn() executes injected command
-
ImpactArbitrary code execution on host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) an authenticated low-privileged session to 9Router (CVSS PR:L), (2) the ability to define or influence a custom MCP plugin whose arguments reach child_process.spawn(), and (3) a deployment where 9Router sits behind a reverse proxy so that the loopback/localhost-only guard can be defeated with attacker-supplied forwarding/Host headers to reach the /api/mcp//sse route. Limiting factors that reduce realistic risk: the attacker must first authenticate (not pre-auth), must be able to load/customize an MCP plugin, and the Host-header bypass is most impactful when the instance is fronted by a proxy that forwards untrusted client headers; direct-bound loopback-only instances with no proxy and no untrusted plugin capability are materially harder to exploit. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, 8.8 High) indicates network-reachable, low-complexity exploitation requiring only low privileges and no user interaction, with full confidentiality/integrity/availability impact - consistent with host RCE. The PR:L requirement means the attacker must already be authenticated to 9Router, which meaningfully narrows the population versus a pre-auth flaw, so this is a genuine-but-gated priority rather than an internet-wide worm risk. No EPSS score was provided in the input, and there is no CISA KEV listing and no public POC identified, so exploitation probability cannot be quantified from the data. SSVC-style reading: technical impact is total, exploitation is 'none observed' (no KEV/POC), and automatability is limited by the authentication prerequisite. The Host-header bypass component lowers practical complexity for anyone who can authenticate, so the real ceiling on risk is how exposed and how weakly authenticated a given 9Router deployment is. |
| Exploit ScenarioDerived | An attacker who holds a low-privileged authenticated session to a proxy-fronted 9Router sends a request to /api/mcp//sse with a spoofed Host/forwarding header so the localhost-only guard treats it as loopback traffic. They then supply a malicious custom MCP plugin whose arguments embed shell metacharacters, which 9Router passes into child_process.spawn(), executing arbitrary commands on the host OS. No public POC or exploit code was identified in the intelligence, but the fix commit clearly documents the bypass mechanics. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 15, 2026
Authenticated remote code execution in 9Router before 0.5.2 lets a logged-in attacker run arbitrary OS commands on the host by chaining a Host-header spoof (to reach routes that are supposed to be localhost-only) with unsanitized MCP plugin arguments that flow into child_process.spawn() via the /api/mcp//sse endpoint. Rated CVSS 8.8 (CWE-78, OS command injection), it is fixed in 0.5.2; no public exploit or CISA KEV listing exists at time of analysis, though a vendor advisory and fix commit are published.
RemediationAI
Vendor-released patch: upgrade to 9Router 0.5.2 (https://github.com/decolua/9router/releases/tag/v0.5.2), which corrects the loopback-trust logic - the fix commit da667836cc7584bea0edd893de1d590c9ea279dc stamps an x-9r-via-proxy header when x-forwarded-for or x-real-ip are present and makes dashboardGuard.js treat such proxied requests as non-local, closing the Host-header bypass. Review the advisory at https://github.com/decolua/9router/security/advisories/GHSA-63p9-g54h-prrp before deploying. If immediate patching is not possible, compensating controls include: restrict network reachability of the 9Router instance and its localhost-only routes (bind to 127.0.0.1 and front only with a trusted proxy that strips client-supplied x-forwarded-for/x-real-ip and Host manipulation); block or filter access to the /api/mcp/ SSE endpoints at the proxy for untrusted clients; and disable or remove untrusted custom MCP plugins so attacker-controlled arguments cannot reach child_process.spawn(). Trade-offs: header stripping at the proxy can break legitimate multi-hop deployments if not scoped carefully, and disabling custom MCP plugins removes functionality relied upon by integrations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
9Router is a Node.js self-hosted AI/LLM request router and token saver. The flaw sits at the intersection of two components confirmed by the fix commit: custom-server.js, which decides whether an inbound request is 'local' (loopback), and src/dashboardGuard.js, which gates localhost-only routes such as the MCP (Model Context Protocol) plugin interface. Because the guard trusted the socket/Host as loopback without accounting for reverse-proxy forwarding headers, a crafted Host header let an external request masquerade as local. The MCP plugin subsystem then passed attacker-influenced plugin arguments directly into Node's child_process.spawn(), the classic CWE-78 (Improper Neutralization of Special Elements used in an OS Command) sink, turning custom-plugin argument data into executable OS commands through the Server-Sent Events route /api/mcp//sse. CPE cpe:2.3:a:decolua:9router identifies the single affected product.
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:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable authenticated user (PR:L) chains a reliable Host-header bypass (AC:L) into host command execution, yielding full C/I/A impact with no user interaction.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
9Router is an AI router & token saver. Prior to 0.5.2, 9Router allows a remote authenticated attacker to achieve arbitrary code execution on the host operating system by combining a Host header bypass of localhost-only routes with unvalidated MCP plugin args passed to child_process.spawn(), allowing malicious custom plugins to execute commands through /api/mcp//sse. This issue is fixed in version 0.5.2.
Executive ViewAI
9Router versions before 0.5.2 allow authenticated remote code execution, enabling any logged-in user to execute arbitrary OS commands on affected systems. Organizations using vulnerable 9Router deployments face the risk of operational disruption and data compromise if an attacker obtains legitimate user credentials.
Apply vendor patch: upgrade to 9Router version 0.5.2.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
Authentication bypass in 9Router (decolua/9router) before 0.5.2 lets a remote unauthenticated attacker forge a 'Host: lo
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
EUVD-2026-44814
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB