Critical severity9.8NVD Advisory· Published Sep 10, 2026
CVE-2026-88899
CVE-2026-88899
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 products
2(expand)+ 1 more
- (no CPE)
- (no CPE)range: <0.31.0
Patches
Vulnerability mechanics
References
5- github.com/knowns-dev/knowns/blob/v0.30.0/internal/server/server.gonvd
- github.com/knowns-dev/knowns/commit/37db0561b37b48b8bd035a417d7f1da6258ae657nvd
- github.com/knowns-dev/knowns/releases/tag/v0.31.0nvd
- github.com/knowns-dev/knowns/security/advisories/GHSA-9h2q-r9fh-f98wnvd
- www.vulncheck.com/advisories/knowns-before-0.31.0-external-control-of-agent-working-directory-via-x-opencode-directory-headernvd
News mentions
0No linked articles in our index yet.