CVE-2026-64650: @ai-sdk/harness-opencode tool relay authorization bypass via process path
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-64650
- Published
- Record updated
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
CVE-2026-64650 affects `@ai-sdk/harness-opencode`, an HarnessV1 adapter backed by `@openai/codex-sdk`, in versions prior to 1.0.29. The tool relay authorizes any process whose command line contains an allowed helper script path, so untrusted code running in the sandbox can invoke host-exposed tools such as secret lookups, deployment operations and cloud API calls without a model-authorized tool-call event. Exploitation requires a Linux environment, an active harness session with host-provided tools, and untrusted code executing in the sandbox.
Mitigation
Fixed in version 1.0.29, which removes the process-path authorization fallback. Relay requests are now accepted only after exact, short-lived, one-time authorization matching the tool name and input from a bridge-observed model event. Until upgraded, do not run the Codex harness on untrusted repositories or with untrusted dependencies, and/or limit host-exposed tools to non-sensitive operations when working with untrusted code.
Coverage
News, research and other items that mention CVE-2026-64650.
- AWS, Google, and Vercel Agent Flaws Let Attackers Trigger Tools Without Running the ModelThe Hacker News, 2026-08-06
Related items
- MediumCVE-2026-120038: IBM Langflow OSS credential exposure via attacker-controlled OpenAI base_urlSame vendor, NVD/CVE Database
- HighCVE-2026-137463: HKUDS nanobot OpenAI Codex provider skips TLS certificate checks on retrySame vendor, NVD/CVE Database
- MediumCVE-2026-132122: agentic-radar untrusted .env loading leaks OpenAI API key via scan commandSame vendor, NVD/CVE Database
- MediumCVE-2026-130358: AdminNeo before 5.9.1 contains a missing authentication vulnerability in the ClaudeSqlPlugin, GeminiSqlPlugin, and…Same vendor, NVD/CVE Database
- HighCVE-2026-68905: Hugo Blog is a tech blog site. In commit 744ca15 and prior, the AI assistant proxy exposes three HTTP endpoints (POST…Same vendor, NVD/CVE Database