CVE-2026-62312

9Router: Authenticated RCE via Unvalidated MCP Plugin Arguments

Published Jul 15, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

9Router, an AI routing and token saving application, contains a CWE‑78 OS Command Injection flaw that lets an authenticated user trigger arbitrary code execution on the server. The vulnerability arises from a Host header bypass that grants access to localhost-only routes and the lack of validation of MCP plugin arguments delivered to child_process.spawn(). When the attacker crafts a request to the /api/mcp//sse endpoint with malicious plugin parameters, the server executes those parameters as shell commands, fully compromising the operating system.

Affected Systems

The flaw affects all releases of 9Router by decolua before version 0.5.2. Any deployment running 0.5.1 or earlier is susceptible; version 0.5.2 and later contain the fix.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity vulnerability. The EPSS score of less than 1% suggests that exploitation is currently unlikely, and the flaw is not listed in the CISA KEV catalog. However, the attack requires valid authentication and the ability to target the specific /api/mcp//sse endpoint. If exploited, it results in complete compromise of the host operating system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch by upgrading to 9Router 0.5.2 or later immediately.
  • Restrict network access or disable the /api/mcp//sse endpoint for unauthenticated or untrusted users until the upgrade can be completed.
  • Ensure the Host header is validated against a whitelist of allowed values and validate or whitelist MCP plugin arguments before passing them to child_process.spawn() to eliminate the bypass.

Generated by OpenCVE AI on July 31, 2026 at 02:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Decolua
Decolua 9router
Vendors & Products Decolua
Decolua 9router
Type Values Removed Values Added
Description 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.
Title 9Router: Authenticated RCE via Unvalidated MCP Plugin Arguments
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 16, 2026, 6:51 PM
Reserved
Jul 13, 2026, 7:27 PM
Status
Deferred
Published
Jul 15, 2026, 9:16 PM
Modified
Oct 24, 2026, 9:10 PM