CVE-2026-88899
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 package | Versions | Reported by |
|---|---|---|
| knowns-dev knowns | before 0.31.0 Not affected: 0.31.0 | CVE List |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-88899 changed 2026-09-11 | CVE Terms of Use |
| NVD | CVE-2026-88899 changed 2026-09-11 | Public domain |