Skip to content
HighVulnerabilityLLM-specific

CVE-2026-64650: @ai-sdk/harness-opencode tool relay authorization bypass via process path

Identifier
CVE-2026-64650
Published
Record updated
View JSON
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.