HIGH 7.1 NVD
CVE-2026-88938
knowns through 0.33.0 fails to confine the path argument of the code.find MCP tool to the project root, allowing AI agent sessions to read source files anywhere
knowns through 0.33.0 fails to confine the path argument of the code.find MCP tool to the project root, allowing AI agent sessions to read source files anywhere on the host. Attackers can supply absolute paths or relative traversal sequences to the path argument and retrieve full file contents from outside the intended project directory.
References
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/mcp/handlers/code.go#L1293-L135
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/mcp/handlers/code.go#L873-L902
- https://github.com/knowns-dev/knowns/security/advisories/GHSA-5cj9-fcqq-g2h7
- https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-code-find-mc
- https://github.com/knowns-dev/knowns/security/advisories/GHSA-5cj9-fcqq-g2h7
This high severity vulnerability with a CVSS score of 7.1 was published on 2026-09-10 via NVD.
vulnfeed aggregates 13138 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.