CVE-2026-88899 knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-88899?
CVE-2026-88899 is a critical vulnerability in knowns-dev knowns, published on 10 Sep 2026.
Official 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.
Weakness: CWE-73
Which versions are affected by CVE-2026-88899?
How do I fix CVE-2026-88899?
No fix has been published for CVE-2026-88899 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-88899 being exploited?
There is no known exploitation of CVE-2026-88899 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-9h2q-r9fh-f98w.