knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header
48Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 9.3epss 0.4%
from disclosure to weapon4 days
Published on NVDSep 10
1st PoC+4d
exploitation probability
0.4%top 63% of all CVEs
observed exploitation
nono source reports it
1 public exploit(s)
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.
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
Affected products
knowns-dev · knownspublic PoCs found — 1
githubgithub.com/uziii2208/CVE-2026-88899★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
References
https://github.com/knowns-dev/knowns/blob/v0.30.0/internal/server/server.go#L1283-L1296https://github.com/knowns-dev/knowns/commit/37db0561b37b48b8bd035a417d7f1da6258ae657https://github.com/knowns-dev/knowns/releases/tag/v0.31.0https://github.com/knowns-dev/knowns/security/advisories/GHSA-9h2q-r9fh-f98whttps://www.vulncheck.com/advisories/knowns-before-0.31.0-external-control-of-agent-working-directory-via-x-opencode-directory-header