| Field | Value |
|---|---|
| CVE / NVD | CVE-2026-66065 |
| Date (index) | 2026-08-03 |
| Affected product (index) | Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user-defined policies to constrain behavior |
| GHSA ID | GHSA-JV2H-4P9V-WF5W |
| OWASP MCP Top 10 (2025) | MCP04 — Software Supply Chain Attacks & Dependency Tampering |
| Published / disclosed | 2026-08-03 |
| Ecosystem | Application / upstream project |
| Component | Ouroboros is a local-first runtime for AI coding agents that records their actions and applies user- |
| EPSS score | 0.002400000 (FIRST EPSS, 2026-09-26) |
| CVSS score | HIGH — 8.4 CVSS v4.0 |
| CWE | CWE-15, CWE-94 |
| Affected versions | v0.42.0, v0.41.0, v0.40.1, v0.40.0, v0.39.1, v0.39.0, v0.38.2, v0.38.1, v0.38.0, v0.37.0, v0.36.0, v0.35.0, v0.34.0, v0.33.0, v0.32.0, v0.31.1, v0.31.0, v0.30.0, v0.29.2, v0.29.1, v0.29.0, v0.28.8, v0.28.7, v0.28.6, v0.28.5, v0.28.4, v0.28.3, v0.28.2, v0.28.1, v0.28.0, v0.27.2, v0.27.1, v0.26.6, v0.27.0, v0.26.5, v0.26.4, v0.26.3, v0.26.2, v0.26.1, v0.26.0, v0.25.2, v0.25.1, v0.25.0, v0.24.0, v0.23.2, v0.23.1, v0.23.0, v0.22.0, v0.21.1, v0.21.0, v0.20.0, v0.19.1, v0.19.0, v0.18.1, v0.18.0, v0.17.0, v0.16.0, v0.15.0, v0.14.1, v0.14.0, v0.13.7, v0.13.6, v0.13.5, v0.13.4, v0.13.3, v0.13.0, v0.12.2, v0.12.1, v0.12.0, v0.9.0, v0.8.0, v0.7.0, v0.6.0, v0.5.1, v0.5.0, v0.4.1, v0.4.0, v0.3.0, v0.2.3, v0.2.2, v0.2.1, v0.2.0, v0.1.1, v0.1.0a1 |
| Fixed versions | 0.42.1 |
| Fix status | Patched |
| Exploit status | Public CVE record; do not mirror weaponized payloads |
| Notes | Added as a separate CVE note during the 2026-08-25 missing-CVE follow-up. Re-check NVD before using this entry for compliance reporting. |
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.
Exposure depends on how the affected MCP server, client, gateway, plugin, extension, or adjacent AI workflow is deployed. Prioritize network-reachable MCP transports, desktop apps with MCP extensions enabled, CI or agent environments, and systems with access to browsers, repositories, credentials, cloud resources, databases, or local files.
Primary mapped weakness: MCP04 — Software Supply Chain Attacks & Dependency Tampering. Confirm the exact CWE and affected code path in the NVD record and upstream advisory before adding exploit-specific detail.
MCP components bridge model output to privileged tools. Vulnerabilities in authorization, path validation, OAuth handling, command execution, SSRF validation, prompt/tool trust, or tool access can turn prompt/tool input into host compromise, credential disclosure, unauthorized browser/cloud/database access, or persistent malicious tool execution.
Add a minimal vulnerable code snippet here only after reviewing the linked upstream commit / advisory. Do not paste weaponized payloads.
Upgrade to the vendor-fixed version where available. If no fixed version is listed, restrict the affected component to trusted users and trusted networks, disable risky tools, validate tool arguments, and run the service with least-privilege credentials until upstream remediation is confirmed.
If a public PoC exists, prefer vendor advisories and defensive write-ups; do not host weaponized exploit code in this repository.
Track NVD references for CVE-2026-66065 and apply the upstream patched release or commit recommended by the vendor/CNA.