No fixed version published. Check the advisory or remove the package.
Affected versions
| If you run | Upgrade to |
|---|---|
| 3.8.50 and earlier | No fix published |
No fixed version listed yet.Check the vendor advisory. References ↓
diegosouzapw · OmniRoute
OmniRoute, an open-source AI gateway, contains a flaw in its POST /api/acp/agents custom ACP agent endpoint, where attacker-controlled binary and versionCommand values are passed to execFileSync after only weak filtering that still permits interpreter evaluation arguments. An unauthenticated remote attacker can execute arbitrary code in the server container when the requireLogin setting is false or during a fresh-instance bootstrap window, while exploitation requires a management session or management-scoped API key when requireLogin is true with a configured management password.
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.
First seen exploited 11 days after disclosure.
diegosouzapw OmniRoute
Affected: < 3.8.49
1 package in 1 ecosystem. Main package: omniroute.
No fixed version published. Check the advisory or remove the package.
| If you run | Upgrade to |
|---|---|
| 3.8.50 and earlier | No fix published |
Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.