CVE-2026-88899 OpenCode - Path Traversal

OpenCode < 0.31.0 contains a path traversal caused by improper validation of the x-opencode-directory header in /api/opencode proxy endpoint, letting remote attackers perform file operations outside the project root, exploit requires crafted request.

CVSS base score 9.8 /10
Critical
CISA KEV
Not listed
Public exploit
Proof of concept available
Authentication
Not required
EPSS
0.81% chance of exploitation in 30 days
View the NVD record ↗