# CVE-2026-129235: Kubeshark: MCP `download_file` writes fetched bytes to an unvalidated destination path

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-11-16T16:45:20.841Z
- Modified: 2026-11-23T20:40:46.747Z
- Also known as: GHSA-gj7r-p794-hhq5, GO-2026-6986
- Weaknesses: CWE-22, CWE-88
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Kubeshark is an eBPF-powered network observability tool for Kubernetes. From 53.1.0 until 53.4.0, the download_file tool in cmd/mcpRunner.go accepts caller-controlled path and dest values, fetches a selected Kubeshark Hub API response, and writes the returned bytes through os.Create(dest) in callDownloadFile without confining the destination. An attacker who influences arguments through an AI agent driving kubeshark mcp can write Hub-supplied bytes to any path writable by the local MCP user and can read captured network traffic from default auth-disabled Hub deployments. The tool is registered without --allow-destructive; reliable code execution is not demonstrated because the bytes are constrained to Hub API responses. Hub-side default authentication remains outside this remediation, so captured traffic can remain readable in default auth-disabled Hub deployments after the local destination-write fix. The destination-write issue is fixed in version 53.4.0.

(As written by CVE List.)

## Affected

- kubeshark kubeshark: >= 53.1.0, < 53.4.0
- github.com/kubeshark/kubeshark (Go): from 0.0.2-0.20260304171723-eb7dc42b6ea0 before 0.0.2-0.20260812200004-a76a1920dc75

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N`

## References

- <https://github.com/kubeshark/kubeshark/security/advisories/GHSA-gj7r-p794-hhq5> (advisory, web)
- <https://github.com/kubeshark/kubeshark/pull/1957> (fix, web)
- <https://github.com/kubeshark/kubeshark/commit/a76a1920dc7587be700a17f1592f58a9512ad214> (fix, web)
- <https://github.com/kubeshark/kubeshark/releases/tag/v53.4.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-129235> (advisory)
- <https://github.com/kubeshark/kubeshark> (package)

## Sources

- CVE List: [CVE-2026-129235](https://www.cve.org/CVERecord?id=CVE-2026-129235), CVE Terms of Use, modified 2026-11-16
- GitHub Advisory Database: [GHSA-gj7r-p794-hhq5](https://github.com/advisories/GHSA-gj7r-p794-hhq5), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-6986](https://pkg.go.dev/vuln/GO-2026-6986), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-129235](https://nvd.nist.gov/vuln/detail/CVE-2026-129235), Public domain, modified 2026-11-16

---

Page: https://cve.day/CVE-2026-129235 · Whole record: https://cve.day/CVE-2026-129235.json · Rebuilt by cve.day 2026-11-25T22:59:50.898Z
