{"id":"CVE-2026-88899","published":"2026-09-10T15:28:51Z","modified":"2026-09-11T20:33:42Z","title":"knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header","vendor":"knowns-dev","product":"knowns","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00809,"percentile":0.53768,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/knowns-dev/knowns/security/advisories/GHSA-9h2q-r9fh-f98w","tags":["vendor-advisory"]},{"url":"https://github.com/knowns-dev/knowns/blob/v0.30.0/internal/server/server.go#L1283-L1296","tags":["technical-description"]},{"url":"https://github.com/knowns-dev/knowns/commit/37db0561b37b48b8bd035a417d7f1da6258ae657","tags":["patch"]},{"url":"https://github.com/knowns-dev/knowns/releases/tag/v0.31.0","tags":["release-notes"]},{"url":"https://www.vulncheck.com/advisories/knowns-before-0.31.0-external-control-of-agent-working-directory-via-x-opencode-directory-header","tags":["third-party-advisory"]}],"priority":{"score":22.6,"factors":[{"name":"EPSS percentile","points":10.75},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-14","earliestUrl":"https://github.com/uziii2208/CVE-2026-88899","repos":[{"name":"uziii2208/CVE-2026-88899","url":"https://github.com/uziii2208/CVE-2026-88899","stars":0,"created":"2026-09-14"}]},"first":{"date":"2026-09-14","source":"PoC-in-GitHub","url":"https://github.com/uziii2208/CVE-2026-88899"},"provenance":"source"},"vendorSlug":"knowns-dev","affectedVersions":[{"vendor":"knowns-dev","product":"knowns","versions":["< 0.31.0"]}],"fixedVersions":[{"vendor":"knowns-dev","product":"knowns","versions":["0.31.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-11T17:11:17.124340Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-75579","exploited":false,"provenance":"source"}}