CVE-2026-88899: Vulnerability in Knowns
Critical. 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.
CWE-73
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-73
- Published
- 10 Sept 2026
- Last change
- 11 Sept 2026
Affected products
Affected versions and the first fixed release
- Knowns Before 0.31.0. Fixed in 0.31.0
Advisories
Vendor and security advisories
- github.com/knowns-dev/knowns/blob/v0.30.0/internal/server/server.go
- github.com/knowns-dev/knowns/security/advisories/GHSA-9h2q-r9fh-f98w
- vulncheck.com/advisories/knowns-before-0.31.0-external-control-of-agent-working-directo...
Patches and fixes
Updates, commits and release notes
- github.com/knowns-dev/knowns/commit/37db0561b37b48b8bd035a417d7f1da6258ae657
- github.com/knowns-dev/knowns/releases/tag/v0.31.0
Related
- Knowns vulnerabilities Recent advisories, watch this product