Summary
CVE-2026-88062 is a critical remote code execution vulnerability in OmniRoute, an open-source AI gateway that provides a single endpoint for multiple LLM providers. The flaw combines a code injection weakness (CWE-94) in the ACP custom-agent registration endpoint with a missing authentication check (CWE-306), letting an attacker who can reach the endpoint execute arbitrary commands inside the OmniRoute container. The issue carries a CVSS v4.0 base score of 9.5 (Critical).
Technical details
- The
POST /api/acp/agentsendpoint lets callers register a custom ACP agent by supplyingbinaryandversionCommandvalues. - Validation only checks that the first token of
versionCommandmatches the suppliedbinaryvalue; since both fields are attacker-controlled, this check is trivially satisfied. - Registration triggers immediate version-probe logic (
refreshAgentCache→resolveVersionProbe) that runsexecFileSync(probe.command, probe.args, ...)using the attacker-supplied command. - The
tokenizeVersionCommandfunction andDISALLOWED_VERSION_COMMAND_CHARSfilter block a limited set of shell metacharacters but do not prevent interpreter evaluation flags (e.g.,node -e "<code>"), allowing arbitrary code execution. - Authentication for the endpoint is governed by
isAuthenticated/isAuthRequired, which permits anonymous requests whenrequireLogin=falseor during initial bootstrap before a management password is configured;/api/acp/is also absent from theLOCAL_ONLY_API_PREFIXESandSPAWN_CAPABLE_PREFIXESprotective lists. - Attack vector is network-based, requires no user interaction, and (under the vulnerable configuration) no privileges — a single crafted HTTP request achieves code execution inside the container.
- With
requireLogin=trueand a management password configured, exploitation requires valid management credentials or API keys.
Affected software
- OmniRoute versions prior to 3.8.49 (
< 3.8.49)
Severity
- CVSS v4.0 Base Score: 9.5 (Critical)
- 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
Mitigation and recommended actions
- Immediate: Upgrade OmniRoute to version 3.8.49 or later, which addresses the validation and authentication gaps in the ACP agent endpoint.
- If patching is not immediately possible:
- Ensure
requireLoginis enabled and a management password is configured before exposing the instance to any network. - Do not expose the
/api/acp/agentsendpoint (or the OmniRoute management interface generally) to untrusted or public networks; restrict access to trusted internal hosts only. - Monitor for unexpected agent registrations or unusual process execution originating from the OmniRoute container.
- Ensure

