CVE-2026-66065CWE-15CWE-94code-injection

CVE-2026-66065

published August 4, 2026

CVSS
8.4
EPSS
0%
Percentile
14.3
In the wild
Unconfirmed
What it is

Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user-defined policies to constrain behavior. Versions prior to 0.42.1 have an incomplete denylist. Several execution-routing keys of the same RCE class were omitted, so a malicious cloned repo can still reach arbitrary command execution by shipping a .env (auto-loaded at import, with no review step). The CVE-2026-47211 fix added _UNTRUSTED_ENV_DENYLIST to stop an untrusted project-directory .env from redirecting execution, but it did not account for all keys. The backend config-home and MCP/plugin roots bypass the approval gate by pointing the nested agent, MCP servers, and plugin roster at attacker config. Other variables re-enable blocked local transports, replace sub-agent prompts, switch backends, and lower tool approval classes, further weakening the approval gate. This issue has been fixed in version 0.42.1.

The record
Technical detail
CVSS
8.4 · NONE
CVSS v4.0
Not supplied
EPSS
0.00240 · 14.3th percentile
Weaknesses
CWE-15 · External Control of System or Configuration Setting; CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-08-04T01:16Z
References (2)
EPSS history
Timeline
  • 03 AUG 20:20Z
    Ouroboros: Untrusted project .env can still reach RCE via omitted execution-routing keys (Incomplete fix of CVE-2026-47211)
    cvelistv5