CVE-2026-88938 Details
Description
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.
A path traversal vulnerability has been identified in the 'code.find' MCP tool of Known's project management software, affecting versions through 0.33.0. The vulnerability arises because the tool does not properly confine the path argument to the project root. This oversight allows AI agent sessions to read source files from anywhere on the host filesystem. Attackers can exploit this by supplying absolute paths or relative traversal sequences, such as '../', to the path argument, thereby accessing files outside the intended project directory. The issue is rooted in the 'findCodeFiles' function, which constructs the search base directory using raw filepath operations without proper boundary checks, unlike other code-related handlers that enforce project-root containment.
To address this vulnerability, the 'path' argument in the 'handleCodeFind' function should be validated using 'safepath.ResolveProject' to ensure it remains within the project boundaries. This change should be applied before the 'findCodeFiles' function is called.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 10, 2026CISA-ADP
Assessed Sep 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/knowns-dev/knowns/security/advisories/GHSA-5cj9-fcqq-g2h7 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/mcp/handlers/code.go#L1293-L1354 | [email protected] | Source CodeVendor |
| https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/mcp/handlers/code.go#L873-L902 | [email protected] | Source CodeVendor |
| https://github.com/knowns-dev/knowns/security/advisories/GHSA-5cj9-fcqq-g2h7 | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-code-find-mcp-tool | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| knowns | <= 0.33.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 11, 2026 | CVE Modified | CISA-ADP |
| Sep 10, 2026 | New CVE Received | [email protected] |
Volerion