CVE-2026-88899Published Sep 10, 2026 · Sep 10Updated Oct 28
knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header
knowns-dev knowns
Critical9.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| knowns-dev knowns |
|
|
Original 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.
From the CVE record · VulnCheck