{"id":"CVE-2026-66065","published":"2026-08-03T20:20:27Z","modified":"2026-08-05T14:20:51Z","title":"Ouroboros: Untrusted project .env can still reach RCE via omitted execution-routing keys (Incomplete fix of…","vendor":"Q00","product":"ouroboros","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.1546,"provenance":"source"},"cwes":[{"id":"CWE-15","name":"External Control of System or Configuration Setting"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/Q00/ouroboros/security/advisories/GHSA-jv2h-4p9v-wf5w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Q00/ouroboros/releases/tag/v0.42.1","tags":["x_refsource_MISC"]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.09},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"q00","affectedVersions":[{"vendor":"Q00","product":"ouroboros","versions":["< 0.42.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-08-05T14:20:43.116568Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-52428","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-q00-ouroboros-cve-2026-47211","parents":[{"from":"CVE-2026-47211","to":"CVE-2026-66065","relation":"incomplete-fix","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"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.","from":"CVE.org","in":"CVE-2026-66065"}]}]}}