{"id":"CVE-2026-88899","aliases":["CVE-2026-88899"],"related":[],"kind":"vulnerability","state":"published","title":"knowns before 0.31.0 External Control of Agent Working Directory via x-opencode-directory Header","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-10T15:28:51.729Z","modified":"2026-09-11T21:17:55.460Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-73"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.31.0","status":"affected"},{"type":"semver","version":"0.31.0","status":"unaffected"}],"vendor":"knowns-dev","product":"knowns","source":"cvelist"}],"references":[{"url":"https://github.com/knowns-dev/knowns/security/advisories/GHSA-9h2q-r9fh-f98w","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/knowns-dev/knowns/blob/v0.30.0/internal/server/server.go#L1283-L1296","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/knowns-dev/knowns/commit/37db0561b37b48b8bd035a417d7f1da6258ae657","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/knowns-dev/knowns/releases/tag/v0.31.0","tags":["release-notes"],"sources":["cvelist","nvd"]},{"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"],"sources":["cvelist","nvd"]}],"credits":["Tong Hoang Gia (uziii2208)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-09-11T17:11:17.124Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-88899","url":"https://www.cve.org/CVERecord?id=CVE-2026-88899","licence":"CVE Terms of Use","modified":"2026-09-11T20:33:42.233Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-88899","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88899","licence":"Public domain","modified":"2026-09-11T21:17:55.460Z"}],"updatedAt":"2026-11-25T22:59:37.872Z","epss":{"score":0.00548,"percentile":0.47306,"date":"2026-12-01T12:00:22.000Z"}}