๐Ÿ” CVE Alert

CVE-2026-47211

UNKNOWN 0.0

Ouroboros: Remote Code Execution via Untrusted Project-Directory .env

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user-defined policies to constrain behavior. In versions prior to 0.39.0, if a user clones a malicious repository and runs Ouroboros commands within that directory, it can lead to arbitrary code execution and potential system takeover. The vulnerability stems from Ouroboros loading the .env file from the current working directory. Execution-affecting environment variables such as OUROBOROS_CLI_PATH, OPENCODE_CLI_PATH, and other backend selectors are accepted directly from this local .env. An attacker can include a malicious script in the repository and point the CLI path variable to it (e.g., OUROBOROS_CLI_PATH=./malicious_script.sh). When the user executes a command like ouroboros init or any command that instantiates the adapter, the malicious script is executed instead of the intended CLI. This issue has been fixed in version 0.39.0.

CWE CWE-426
Vendor q00
Product ouroboros
Published Aug 3, 2026
Last Updated Aug 3, 2026
Stay Ahead of the Next One

Get instant alerts for q00 ouroboros

Be the first to know when new unknown vulnerabilities affecting q00 ouroboros are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Q00 / ouroboros
< 0.39.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/Q00/ouroboros/security/advisories/GHSA-c4m7-2gwp-vw76 github.com: https://github.com/Q00/ouroboros/pull/1078 github.com: https://github.com/Q00/ouroboros/commit/4e70b760b4eb157469b58645339ba831f6513d37