CVE-2026-129235
MEDIUM 5.3CVSS 3.1Kubeshark: MCP `download_file` writes fetched bytes to an unvalidated destination path
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.
- Published
- 16 Nov 2026
- Last modified
- 23 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-22CWE-88
- Also known as
- GHSA-gj7r-p794-hhq5GO-2026-6986
- Sources
- NVDJSONOSV GHSA-gj7r-p794-hhq5JSONOSV GO-2026-6986JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/kubeshark/kubeshark | >= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75 | 0.0.2-0.20260812200004-a76a1920dc75 |
References
- https://github.com/kubeshark/kubeshark/commit/a76a1920dc7587be700a17f1592f58a9512ad214 · WEB, FIX
- https://github.com/kubeshark/kubeshark/pull/1957 · WEB, FIX
- https://github.com/kubeshark/kubeshark/releases/tag/v53.4.0 · WEB
- https://github.com/kubeshark/kubeshark/security/advisories/GHSA-gj7r-p794-hhq5 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-129235 · ADVISORY
- https://github.com/kubeshark/kubeshark · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 16 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Nov 2026)