HOL-VULN-2026-0036HOL vulnerability recordCVSS 4.0 5.3 · MediumPublic

Kubeshark MCP download_file writes fetched bytes to an unvalidated destination path

The Kubeshark CLI ships an MCP mode. Its download_file tool fetches a file from the Kubeshark Hub API and writes the bytes to a path the caller picks. That path gets no check at all. The handler passes it straight to the file creation call, with no cleaning, no base folder and no ban on absolute paths or parent folder steps. A caller who can shape the tool arguments, for example through prompt injection against the agent driving the server, can write fetched bytes to any place the server user can reach, such as an SSH authorized keys file, a kube config or a shell start file. The tool is there in the default setup, with no destructive option needed. Versions from 53.1.0 up to but not including 53.4.0 are affected. Version 53.4.0 fixes it. CVE-2026-129235 is assigned, and the GitHub user novice-22 is credited as reporter.

Affected artifact
kubeshark/kubeshark — kubeshark mcp subcommand, download_file tool (cmd/mcpRunner.go)mcp server
Affected versions
github.com/kubeshark/kubeshark ≥ 53.1.0 to < 53.4.0
Fixed in
53.4.0
Last verified
2026-12-06

Severity

CVSS 4.0 score 5.3 (Medium), scored by HOL.

CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

What this means

GHSA-gj7r-p794-hhq5 / CVE-2026-129235: kubeshark's MCP download_file tool writes fetched bytes to a caller-supplied dest with no validation, so any path the server user can write is reachable. Fixed in 53.4.0; upgrade from 53.1.0 to 53.3.0.

What to do

Upgrade kubeshark to 53.4.0 or later. On affected versions, do not let untrusted input shape download_file arguments.

Evidence

Precondition. Ability to influence the download_file arguments (path and dest) of a kubeshark MCP server from a release at or above 53.1.0 and below 53.4.0, for example through prompt injection against the agent driving it. The tool is registered in the default setup.

Source proof. Per the advisory, download_file with a caller-chosen dest writes the fetched bytes to that path with no validation. HOL did not run the tool; this rests on the advisory.

Version determination. Determined by range — The advisory states kubeshark releases at or above 53.1.0 and below 53.4.0 are affected, with 53.4.0 as the patched version.

Disclosure

Disclosure state: independent public · Publisher: kubeshark/kubeshark

Naming decision: named. Vendor named as drafted. Finding already public with fix published; naming call sits with this job under Nov 24-25 2026 rules.

Vendor response: fixed — Fix published in 53.4.0.

  1. 2026-08-13 · vendor action

    Maintainers published advisory GHSA-gj7r-p794-hhq5 with the fix in 53.4.0.

  2. 2026-12-06 · guard update

    Status moved from draft to triaged: Transition to triaged: record is in scope, sources are primary, finding already public and fixed upstream in 53.4.0, CVE-2026-129235 assigned.

  3. 2026-12-06 · guard update

    Status moved from triaged to evidence_verified: Transition to evidence_verified: record is in scope, sources are primary, finding already public and fixed upstream in 53.4.0, CVE-2026-129235 assigned.

  4. 2026-12-06 · disclosure

    Status moved from evidence_verified to public: Transition to public: record is in scope, sources are primary, finding already public and fixed upstream in 53.4.0, CVE-2026-129235 assigned.

Affected artifact references

Cite this record

[HOL-VULN-2026-0036] Kubeshark MCP download_file writes fetched bytes to an unvalidated destination path — HOL Agent Vulnerability Ledger, HOL (hol.org), 2026. https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0036

Canonical URL: https://hol.org/guard/security/vulnerabilities/hol-vuln-2026-0036

Found an error in this record, or want to appeal it? Report an issue or appeal.

Appeal or correct this record

Maintainers and affected parties can submit evidence, dispute the record, or request a correction through the disclosure page. A dispute marks the record visibly disputed — it never silently disappears.

Appeal or correct HOL-VULN-2026-0036