diegosouzapw OmniRoute custom ACP agent endpoint permits remote code execution

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-88062?

CVE-2026-88062 is a vulnerability classified as Improper Control of Generation of Code and Missing Authentication for Critical Functionality, affecting OmniRoute (affected versions: < 3.8.49). This vulnerability is rated Critical, with a CVSS score of 9.5. Current sources do not report this vulnerability as exploited.

Overview

Original source data

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.

Affected products and scope

  • The supplied affected data identifies vendor diegosouzapw, product OmniRoute, and versions < 3.8.49 as affected.
  • The CNA description states that 3.8.49 and earlier are affected.
  • The inspected GitHub CNA advisory lists the npm package omniroute with <= 3.8.50 affected and no patched version. This is broader than, and conflicts with, the supplied structured affected data.
  • A referenced pull request and commit describe hardening merged into release/v3.8.50, but the advisory still lists <= 3.8.50 as affected. Use <= 3.8.50 as the conservative triage boundary until a correction is available, and do not infer that later branches are automatically unaffected.

Technical details

The flaw combines code injection with missing authentication for a critical function in the custom ACP agent registration flow.

  1. POST /api/acp/agents accepts attacker-controlled binary, versionCommand, and related fields.
  2. resolveVersionProbe checks only whether the first command token matches the binary supplied in the same request. Because both values are attacker-controlled, this self-consistency check does not establish that the command is a safe version probe.
  3. After saving the agent, the request calls refreshAgentCache(). Agent detection invokes resolveVersionProbe, then passes the resulting command and arguments to execFileSync.
  4. tokenizeVersionCommand and DISALLOWED_VERSION_COMMAND_CHARS reject only a limited set of shell metacharacters. Interpreter evaluation arguments can still pass, so exploitation does not depend on shell metacharacters.
  5. isAuthenticated allows anonymous requests when requireLogin=false. At the same time, /api/acp/ is absent from LOCAL_ONLY_API_PREFIXES and SPAWN_CAPABLE_PREFIXES, so the route is not stopped early by the policy intended for subprocess-capable endpoints.

On Linux, the advisory describes this path executing code inside the server container through the selected interpreter. The service privileges, data accessible to the container, and any possibility of escaping the container are not established by the available evidence.

Exploitability

The vulnerability is reachable over the network through POST /api/acp/agents and does not require user interaction.

  • When requireLogin=false, a remote anonymous request can reach the anonymous-allow branch and trigger code execution.
  • During a fresh-instance bootstrap window, the CNA describes a path to reach that state before a management password is configured.
  • When requireLogin=true and a management password is configured, exploitation requires a valid management session or management-scoped API key.
  • The public advisory contains reproduction material, but the normalized record marks public_exploit as false and no standalone exploit is confirmed in the record.
  • The inspected GCVE page displays a Shadowserver assertion with Exploited: Yes. The available evidence does not identify a campaign, victim, or concrete indicator, so this is an additional reported exploitation status without corresponding investigation detail.

Technical impact

The technical outcome is arbitrary code execution inside the server container through an interpreter and arguments supplied by the request. An attacker may then read or alter data within the service's permissions, disrupt the gateway, or access network resources permitted to the container.

  • When login is disabled or the instance is in the bootstrap window, the impact can begin with a remote anonymous request.
  • When login is correctly enforced, direct exploitation is limited by the management session or management-scoped API key that the attacker must possess.
  • The advisory does not establish container escape, root privileges, or impact on the host outside the container. Consequences beyond the container remain deployment-dependent possibilities.

Business impact

Successful code execution may let an attacker manipulate data, files, processes, and secrets accessible to the OmniRoute container.

  • The gateway could be modified, disrupted, or controlled within the permissions of its service account.
  • Provider secrets, API keys, or operational credentials may be exposed if they are available through the container environment, filesystem, or service account.
  • Further impact against connected systems is possible if the deployment grants broad network access or credentials, but no specific downstream compromise is established in the record.
  • When login and a management password are properly enforced, the exploitable population is limited by the corresponding management permissions. The record does not establish a specific breach.

Remediation

  1. Do not rely on an assumed fix. The inspected CNA advisory lists no patched version, and the normalized record also states that no fixed version is available.
  2. The referenced pull request and commit describe hardening for resolveVersionProbe, including rejection of interpreter evaluation arguments, and show that it was merged into release/v3.8.50. However, the same advisory still lists <= 3.8.50 as affected, so do not treat release/v3.8.50 as a fixed release without verifying vendor release metadata or a corrected advisory.
  3. As a temporary control, enforce requireLogin=true, configure a management password, and restrict POST /api/acp/agents to a trusted management network. Do not expose a fresh instance during its bootstrap window to untrusted networks.
  4. Review and remove unapproved custom agents, then recheck configuration and process telemetry after applying the mitigation.
  5. If exploitation is suspected, isolate the container or instance, preserve evidence, rotate secrets accessible to the service, and assess systems reachable with the container's permissions.

Detection

  1. Inventory all diegosouzapw OmniRoute deployments, identify each package release, and compare it with the boundaries in affected_summary. Because the supplied affected data and CNA advisory disagree, do not treat an unverified branch as safe.
  2. Check requireLogin, management-password status, and whether the instance was exposed during the bootstrap window. Prioritize instances that permit anonymous access.
  3. Inspect stored custom-agent definitions for unexpected binary and versionCommand values, especially interpreter evaluation arguments or agents not created by an administrator.
  4. Review HTTP access logs for POST /api/acp/agents and login-configuration changes originating from remote or unauthenticated clients. This is a behavior-based investigative check, not a CNA-confirmed IOC.
  5. Where process or container telemetry is available, review interpreter processes launched by OmniRoute near agent-registration requests and unusual changes to agent data. Absence of log evidence does not prove safety.
  6. If unauthorized requests or unexpected interpreter execution are found, isolate the instance, preserve logs, and consider rotating secrets accessible to the container.
Sources (19)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.