{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-64651","published":"2026-07-20T21:16:50.677000Z","last_modified":"2026-10-24T20:10:00.137000Z","status":"Deferred","cvss":{"version":"4.0","score":6.3,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:H/SI:H/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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-863"],"cpes":[],"cpes_truncated":false,"vendors":["vercel"],"products":["vercel/ai-sdk-harness-opencode"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":38,"links":{"html_es":"/es/cve/CVE-2026-64651/","html_en":"/en/cve/CVE-2026-64651/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-64651","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-64651"},"untrusted":{"vendor_name":"vercel","product_name":"@ai-sdk/harness-opencode","desc_en":"The `@ai-sdk/harness-opencode` tool connects HarnessAgent to OpenCode through a sandboxed bridge. Prior to version 1.0.28, the tool relay authorizes requests from any process whose command line contains an allowed helper script path (`host-tool-mcp.mjs`). This allows untrusted code executing in the sandbox to invoke arbitrary host-exposed tools including secret lookups, deployment operations, and cloud API calls without a corresponding model-authorized tool-call event. Exploitation requires a Linux environment (the vulnerable fallback checks `process.platform === 'linux'` and reads `/proc`); an active harness session with one or more host-provided tools; and untrusted code executing in the sandbox (e.g. a malicious dependency, build script, or lifecycle hook) The fix in version 1.0.28 removes the process-path authorization fallback entirely. Relay requests are now only accepted after exact, short-lived, one-time authorization matching the tool name and input from a bridge-observed model event. Some workarounds are available. Do not run the OpenCode harness on untrusted repositories or with untrusted dependencies, and/or limit host-exposed tools to non-sensitive operations when working with untrusted code.","affected":[{"untrusted_vendor":"vercel","untrusted_product":"@ai-sdk/harness-opencode","versions":[]}],"references":[{"url":"https://github.com/vercel/ai/pull/17105","tags":[]},{"url":"https://github.com/vercel/ai/security/advisories/GHSA-g48p-5rr5-8rgq","tags":[]}]}}