{"id":"GHSA-w47m-jpv2-qfw5","title":"Duplicate Advisory: Knowns Sandbox Escape: Unauthenticated Header Injection Grants AI Agent Unrestricted Access to Host Filesystem","summary":"Duplicate Advisory: Knowns Sandbox Escape: Unauthenticated Header Injection Grants AI Agent Unrestricted Access to Host Filesystem","severity":"critical","cvss":9.8,"cwe":["CWE-73"],"vendor":"knowns","product":"knowns","ecosystem":"npm","affected":["knowns < 0.31.0"],"published":"2026-09-10","updated":"2026-09-25","sourceUpdated":"2026-09-25T17:11:38Z","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-w47m-jpv2-qfw5","references":[{"url":"https://github.com/knowns-dev/knowns/security/advisories/GHSA-9h2q-r9fh-f98w"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-88899"},{"url":"https://github.com/knowns-dev/knowns/commit/37db0561b37b48b8bd035a417d7f1da6258ae657"},{"url":"https://github.com/knowns-dev/knowns/blob/v0.30.0/internal/server/server.go#L1283-L1296"},{"url":"https://github.com/knowns-dev/knowns/releases/tag/v0.31.0"},{"url":"https://www.vulncheck.com/advisories/knowns-before-0.31.0-external-control-of-agent-working-directory-via-x-opencode-directory-header"},{"url":"https://github.com/advisories/GHSA-w47m-jpv2-qfw5"}],"tags":["ghsa","npm"],"ingestedAt":"2026-09-25T17:13:14.006Z","slug":"GHSA-w47m-jpv2-qfw5","body":"## Overview\n\n### Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-9h2q-r9fh-f98w. This link is maintained to preserve external references.\n\n### Original Description\nknowns 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.\n\n## Affected packages\n\n- `knowns < 0.31.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}