Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. omniroute
  4. ›
  5. CVE-2026-88062

CVE-2026-88062: OmniRoute ACP Custom-Agent Remote Code Execution (RCE)

September 10, 2026

POST /api/acp/agents registers a custom ACP agent. The endpoint accepts user-controlled binary and versionCommand values. After saving the custom agent, the same request calls refreshAgentCache(), which triggers agent version detection. The version probe eventually runs:

execFileSync(probe.command, probe.args, ...)

The only validation is resolveVersionProbe(binary, versionCommand, true), which checks that the first token of versionCommand matches the request-provided binary. Because binary is also attacker-controlled, an attacker can submit:

{
"binary": "node",
"versionCommand": "node -e \"...arbitrary JavaScript...\""
}

This executes arbitrary Node.js code inside the server container, and that code can execute OS commands via child_process.execSync().

When requireLogin=false, isAuthenticated() treats anonymous requests as authenticated. At the same time, /api/acp/ is not included in LOCAL_ONLY_API_PREFIXES or SPAWN_CAPABLE_PREFIXES, so the endpoint is not blocked by the LOCAL_ONLY policy before reaching the anonymous allow branch. As a result, a remote anonymous attacker can execute commands inside the OmniRoute container with a single HTTP request.

References

  • github.com/advisories/GHSA-hf57-cqmx-p4gr
  • github.com/diegosouzapw/OmniRoute/commit/60829241fd64d0317aa6a0dd8cd7a445a5287fed
  • github.com/diegosouzapw/OmniRoute/pull/11028
  • github.com/diegosouzapw/OmniRoute/security/advisories/GHSA-hf57-cqmx-p4gr
  • nvd.nist.gov/vuln/detail/CVE-2026-88062

Code Behaviors & Features

Detect and mitigate CVE-2026-88062 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.8.50

Solution

Unfortunately, there is no solution available yet.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/omniroute/CVE-2026-88062.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:19:31 +0000.