CVE-2026-88938
published high CVSS 4.0 · 7.1knowns through 0.33.0 Path Traversal via code.find MCP tool
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| knowns-dev | — | knowns0 through 0.33.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| knowns-dev | knowns | 0 through 0.33.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/mcp/handlers/code.go#L1293-L1354
- https://github.com/knowns-dev/knowns/blob/v0.33.0/internal/mcp/handlers/code.go#L873-L902
- GitHub Security Advisory (GHSA-5cj9-fcqq-g2h7) https://github.com/knowns-dev/knowns/security/advisories/GHSA-5cj9-fcqq-g2h7
- VulnCheck Advisory: knowns through 0.33.0 Path Traversal via code.find MCP tool https://www.vulncheck.com/advisories/knowns-through-0.33.0-path-traversal-via-code-find-mcp-tool
Provider assertions
2VulnCheck · cna
knowns through 0.33.0 Path Traversal via code.find MCP tool
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7279efc8978a087d76a29de4c405c944467e43c0c939f35c6b9221515a9bc06b
- Ingested
- 23 Sep 2026, 09:37:53 UTC
- Source record
- Official CVE record