CVE-2026-88899
JSON

9.3critical

knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header

Severity
9.3critical CVSS:4.0 by VulnCheck
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

Description

knowns versions before 0.31.0 fail to properly validate the x-opencode-directory request header in the /api/opencode proxy endpoint. Remote attackers can supply arbitrary directory paths to execute file operations outside the project root on the host system.

Affected

Product or packageVersionsReported by
knowns-dev knownsbefore 0.31.0
Not affected: 0.31.0
CVE List

All scores

VulnCheck9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-73

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-88899 changed 2026-09-11CVE Terms of Use
NVDCVE-2026-88899 changed 2026-09-11Public domain