Skip to content
HighVulnerability

CVE-2026-66065: Ouroboros arbitrary command execution through untrusted project .env keys

Identifier
CVE-2026-66065
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

Versions of Ouroboros, a local-first runtime for AI coding agents, prior to 0.42.1 ship an incomplete denylist of untrusted .env keys. A malicious cloned repository can include a .env file that is auto-loaded at import with no review step, letting an attacker reach arbitrary command execution. The earlier CVE-2026-47211 fix added _UNTRUSTED_ENV_DENYLIST for project-directory .env files but missed several keys. Other variables let attackers redirect the backend config-home and MCP/plugin roots past the approval gate, re-enable blocked local transports, replace sub-agent prompts, and lower tool approval classes.

Mitigation

Fixed in 0.42.1.