CVE-2026-88899knowns-dev knowns
Arbitrary file operations outside project root in knowns
Critical 9.3 No auth needed
Follow: this CVE · knowns-dev · knowns-dev knowns We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 10, 2026
- Updated
- Sep 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-73
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
knowns versions before 0.31.0 fail to properly validate the x-opencode-directory request header in the /api/opencode proxy endpoint. Remote attackers without authentication can supply arbitrary directory paths to execute file operations outside the project root on the host system.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 0.31.0
Update knowns to version 0.31.0 or later to apply proper validation of the x-opencode-directory header.
- Apply the vendor's security update for knowns.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- knowns-dev · knowns
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.