CVE-2026-47211
Last modified
CVE-2026-47211 is a high-severity vulnerability rated 8.4/10 on the CVSS scale. 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.
Description
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Q00 | ouroboros | < 0.39.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-47211?
How severe is CVE-2026-47211?
How do I fix CVE-2026-47211?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-47206Dragonfly is an in-memory data store built for modern applic…2.3
- CVE-2026-47207Envoy is an open source edge and service proxy designed for …6.5
- CVE-2026-47208vm2 is an open source vm/sandbox for Node.js. Prior to versi…10
- CVE-2026-47209vm2 is an open source vm/sandbox for Node.js. Prior to versi…8.6
- CVE-2026-4721Memory safety bugs present in Firefox ESR 115.33, Firefox ES…9.8
- CVE-2026-47210vm2 is an open source vm/sandbox for Node.js. Prior to versi…9.8
- CVE-2026-47212Symfony is a PHP framework for web and console applications …5.3
- CVE-2026-47213Boxlite is a sandbox service that allows users to create lig…6.5
- CVE-2026-47214Docling simplifies document processing by parsing diverse fo…7.1
- CVE-2026-47216Typesense is a fast, typo-tolerant search engine. Prior to v…8.7
- CVE-2026-47219find-my-way is a framework-independent HTTP router that inte…7.5
- CVE-2026-4722Privilege escalation in the IPC component. This vulnerabilit…8.8
Are you affected by CVE-2026-47211?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
