Vulnerability in HarnessAgent Tool Affecting OpenCode

6.3MEDIUM

CVE-2026-64651

Key Information:

Vendor

Vercel

CVE ID
CVE ID:
CVE-2026-64651
Vendor
CVE Published:
20 July 2026

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • No: Needs local access
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Why it's rated "Monitor"
  • Its CVSS severity is medium (6.3).

What is CVE-2026-64651?

The @ai-sdk/harness-opencode tool serves as a connection between the HarnessAgent and OpenCode via a sandboxed bridge. Versions prior to 1.0.28 permit unauthorized relay authorizations from any process with a command line matching an accepted helper script path. This flaw exposes the system to risks where untrusted code running within a sandbox can execute host-exposed tools, including sensitive operations such as secret lookup and cloud API interactions. Exploitation necessitates specific conditions: a Linux environment, an active harness session with host tools, and the presence of untrusted code such as malicious dependencies or scripts. The remedial update in version 1.0.28 eliminates the insecure authorization fallback by ensuring that relay requests are only accepted after precise, one-time authorization corresponding to the tool name from a validated model event. It is recommended to avoid running the OpenCode harness with untrusted repositories or dependencies and to limit host-exposed tools to non-sensitive tasks in such environments.

Affected Version(s)

@ai-sdk/harness-opencode < 1.0.29

References

SVG Injection in Satori Library

CVE-2026-94545
VercelSatoriπŸ˜„πŸ‘Ύ5.3MEDIUM

Path Traversal in Next.js Framework

CVE-2026-75604
VercelNext.jsπŸ˜„πŸ‘Ύ9CRITICAL

Server-Side Request Forgery in Next.js

CVE-2026-44578
VercelNext.jsπŸ”₯πŸ˜„πŸ‘Ύ8.6HIGH
View more Vercel vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V4

Score:
6.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None
.