Description
OmniRoute is an open-source AI gateway providing a single endpoint for multiple model providers. In 3.8.49 and earlier, the OmniRoute POST /api/acp/agents custom ACP agent endpoint accepted attacker-controlled binary and versionCommand values and used only a self-consistency check before execFileSync executed the selected interpreter and arguments. The same request called refreshAgentCache, and resolveVersionProbe accepted the matched command before the execFileSync sink ran it. The tokenizeVersionCommand function and DISALLOWED_VERSION_COMMAND_CHARS filter rejected a limited set of shell metacharacters but still allowed interpreter evaluation arguments. The isAuthenticated function relied on isAuthRequired, which accepted anonymous requests when requireLogin was false, while api/acp/ was absent from LOCAL_ONLY_API_PREFIXES and SPAWN_CAPABLE_PREFIXES. With requireLogin=false or during a fresh-instance bootstrap window, a remote anonymous request could supply an interpreter evaluation argument and execute arbitrary code in the server container. With requireLogin=true and a configured management password, exploitation instead required a management session or management-scoped API key. No fixed version is available as of this review.
Published: 2026-09-10
Score: 9.5 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

OmniRoute 3.8.49 and earlier allow attacker-controlled binary and versionCommand values to be passed to POST /api/acp/agents. Only a weak self-consistency check is performed before execFileSync invokes the system interpreter, enabling execution of arbitrary code. The same input path also triggers refreshAgentCache and resolveVersionProbe, which accept the command before the execFileSync sink runs it. The tokenization filter removes a limited set of shell metacharacters but still permits interpreter evaluation arguments. The authentication logic relies on isAuthRequired, which accepts anonymous requests when requireLogin is false and the endpoint is not listed as local-only or spawn-capable. Consequently, an unauthenticated attacker during a fresh-instance bootstrap or when requireLogin is false can supply an interpreter argument and execute code within the server container. If requireLogin is true, the attacker must obtain a management session or API key. No fix is released yet.

Affected Systems

Vendors: diegosouzapw OmniRoute. Affected versions: 3.8.49 and all earlier releases. The vulnerability exists in the open-source AI gateway that exposes a single endpoint for multiple model providers.

Risk and Exploitability

The CVSS score of 9.5 classifies this as critical. EPSS is not available, so the probability cannot be quantified, but the lack of a fix and the ability to execute code with container privileges make it high risk. The vulnerability is not listed in CISA KEV. Exploitation requires either unauthenticated access with requireLogin=false or, if authentication is enforced, the attacker must acquire a management credential or key. In either scenario, gained code execution can compromise the entire server container, potentially giving full control over the host.

Generated by OpenCVE AI on September 10, 2026 at 22:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Configure OmniRoute to set requireLogin=true and enforce a strong management password to prevent anonymous requests to /api/acp/agents.
  • Disable or remove the custom ACP agent endpoint (/api/acp/agents) if it is not needed for operational requirements.
  • Strengthen input validation by extending DISALLOWED_VERSION_COMMAND_CHARS to block all shell metacharacters and enforce strict interpreter argument checks.
  • Continuously monitor access logs for unexpected POST requests to /api/acp/agents and block IPs that attempt to supply interpreter evaluation arguments.

Generated by OpenCVE AI on September 10, 2026 at 22:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hf57-cqmx-p4gr OmniRoute ACP Custom-Agent Remote Code Execution (RCE)
History

Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 10 Sep 2026 19:30:00 +0000

Type Values Removed Values Added
Description OmniRoute is an open-source AI gateway providing a single endpoint for multiple model providers. In 3.8.49 and earlier, the OmniRoute POST /api/acp/agents custom ACP agent endpoint accepted attacker-controlled binary and versionCommand values and used only a self-consistency check before execFileSync executed the selected interpreter and arguments. The same request called refreshAgentCache, and resolveVersionProbe accepted the matched command before the execFileSync sink ran it. The tokenizeVersionCommand function and DISALLOWED_VERSION_COMMAND_CHARS filter rejected a limited set of shell metacharacters but still allowed interpreter evaluation arguments. The isAuthenticated function relied on isAuthRequired, which accepted anonymous requests when requireLogin was false, while api/acp/ was absent from LOCAL_ONLY_API_PREFIXES and SPAWN_CAPABLE_PREFIXES. With requireLogin=false or during a fresh-instance bootstrap window, a remote anonymous request could supply an interpreter evaluation argument and execute arbitrary code in the server container. With requireLogin=true and a configured management password, exploitation instead required a management session or management-scoped API key. No fixed version is available as of this review.
Title OmniRoute ACP Custom-Agent Remote Code Execution (RCE)
Weaknesses CWE-306
CWE-94
References
Metrics cvssV4_0

{'score': 9.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-11T20:32:43.070Z

Reserved: 2026-09-09T21:22:45.434Z

Link: CVE-2026-88062

cve-icon Vulnrichment

Updated: 2026-09-11T16:48:31.983Z

cve-icon NVD

Status : Received

Published: 2026-09-10T20:17:31.693

Modified: 2026-09-11T21:17:54.803

Link: CVE-2026-88062

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-10T22:30:08Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')