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.
Published: 2026-07-15
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 16 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 15 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Decolua
Decolua 9router
Vendors & Products Decolua
Decolua 9router

Wed, 15 Jul 2026 21:00:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-16T18:51:28.371Z

Reserved: 2026-07-13T19:27:58.314Z

Link: CVE-2026-62312

cve-icon Vulnrichment

Updated: 2026-07-16T18:51:00.519Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T02:45:04Z

Weaknesses
  • CWE-78

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