{
  "id": "CVE-2026-66065",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-66065",
  "published_at": "2026-08-03T20:20:27.599Z",
  "title": "Ouroboros: Untrusted project .env can still reach RCE via omitted execution-routing keys (Incomplete fix of CVE-2026-47211)",
  "vendor": "Q00",
  "product": "ouroboros",
  "cvss": {
    "score": 8.4,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-15",
  "cvss_by_source": {
    "cna": 8.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Q00",
        "product": "ouroboros",
        "ranges": [
          "\u003c 0.42.1"
        ],
        "fixed_in": [
          "0.42.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ouroboros to 0.42.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Q00/ouroboros/security/advisories/GHSA-jv2h-4p9v-wf5w"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/Q00/ouroboros/releases/tag/v0.42.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
