{"data":{"id":"a1091ddc-1370-4cd0-8406-6631d069d2f3","title":"CVE-2026-64651: The `@ai-sdk/harness-opencode` tool connects HarnessAgent to OpenCode through a sandboxed bridge. Prior to version…","summary":"The `@ai-sdk/harness-opencode` tool, prior to version 1.0.28, authorizes relay requests from any process whose command line contains the `host-tool-mcp.mjs` helper path, letting untrusted code in the sandbox invoke host-exposed tools such as secret lookups, deployment operations and cloud API calls without a model-authorized tool-call event. Exploitation requires Linux (the fallback checks `process.platform === 'linux'` and reads `/proc`), an active harness session with host-provided tools, and untrusted code running in the sandbox.","solution":"Fixed in version 1.0.28, 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. Workarounds: 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.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-64651","publishedAt":"2026-07-20T21:16:50.677Z","cveId":"CVE-2026-64651","cweIds":["CWE-863"],"cvssScore":null,"cvssSeverity":null,"severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["@ai-sdk/harness-opencode","HarnessAgent","OpenCode"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"@ai-sdk/harness-opencode tool relay authorization bypass by sandboxed processes","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.002,"epssPercentile":0.10275,"epssCheckedAt":"2026-12-03T18:27:05.405Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":["https://github.com/vercel/ai/pull/17105"],"ssvcExploitation":"none","nvdStatus":"Deferred","referencesCheckedAt":"2026-12-03T19:25:55.767Z","kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":"2026-12-03T18:59:07.411Z","patchAvailable":null,"disclosureDate":"2026-07-20T21:16:50.677Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-122"],"crossRefCount":1,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":null,"affectedPurls":null,"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":false,"timeline":[{"event":"published","date":"2026-07-20","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"model","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}