ZeroHour

CVE-2026-88938

niche

Path Traversal in knowns code.find MCP Tool Enables Arbitrary File Read (<= 0.33.0)

CVSS 4.0
7.1 high
EPSS
Published
()
Modified
AI analysis

knowns through version 0.33.0 fails to confine the path argument of its code.find MCP tool to the project root, a path traversal flaw tracked as CWE-22. An AI agent session, or an attacker who can influence that session's tool calls, can supply an absolute path or relative traversal sequences to the path argument and retrieve the full contents of files anywhere on the host running the tool. The impact is confidentiality-only: the CVSS 4.0 vector (VC:H with no integrity or availability impact) scores 7.1 High, with a network attack vector, low privileges required, and no user interaction needed. Anyone running knowns up to and including 0.33.0 with the code.find MCP tool available to agent sessions is affected, particularly deployments where the MCP server has broad filesystem access. No public proof-of-concept is known and the issue is not in CISA KEV, so no exploitation is confirmed at this time.

What to do: Upgrade knowns to a release newer than 0.33.0 once a patched version is published, as the advisory does not name a specific fixed version. Until then, restrict or disable the code.find MCP tool, run the MCP server as a low-privilege user with filesystem access limited to project directories, and avoid letting agent sessions pass absolute paths or traversal sequences. Also review hosts for sensitive files (configuration files, credentials) reachable outside the project root and check whether any agent sessions have read paths outside it.

Affected
knowns (project) knownsthrough 0.33.0 (all versions <= 0.33.0)
Estimated exposure
nicheunknown (no public adoption or install-count data for the pre-1.0 knowns MCP tool) — No active-install, scan, or telemetry data for knowns is available in the advisory data; as a pre-1.0 tool in the emerging MCP ecosystem, affected installs are plausibly limited to small numbers of developer and agent environments rather…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Weakness
CWE-22
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.