CVE Feed
5.3 Medium

Kubeshark: MCP `download_file` writes fetched bytes to an unvalidated destination path

CVE-2026-129235

Ecosystem / package: Go — github.com/kubeshark/kubeshark (the kubeshark CLI, kubeshark mcp subcommand) Affected component: cmd/mcpRunner.go, MCP tool downloadfile Affected versions: >= v53.1.0, < v53.4.0 (the flaw shipped with the tool's first release; v53.3.0 was the last affected release) Patched version: v53.4.0 Credit: novice-22 (Urim), via private coordinated disclosure. Summary The downloadfile MCP tool fetches a caller-supplied path from the Kubeshark Hub API and writes the response body to a caller-supplied dest on the local filesystem with no validation of dest. An attacker who can influence the MCP tool arguments — e.g. via indirect prompt injection against an AI agent driving kubeshark mcp — can write attacker-controlled bytes to an arbitrary path writable by the user running the MCP server (e.g. ~/.ssh/authorizedkeys, ~/.kube/config, ~/.bashrc), and can request arbitrary Hub API endpoints. downloadfile is registered unconditionally (available in the default, non---allow-destructive posture). Introduced in Commit eb7dc42b — "Add getfileurl and downloadfile MCP tools (#1853)", 2026-03-04 — first released in v53.1.0 (v53.1.0~1). An earlier attempt (dbfd17d9) was reverted…

Assessment

CVSS
5.3 (v3.1)
Severity
Medium
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
16 November 2026
Last updated
16 November 2026
Weakness
CWE-22, CWE-88

CVSS vectorCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-129235