CVE-2026-129235
Kubeshark: MCP `download_file` writes fetched bytes to an unvalidated destination path
Also known as GHSA-gj7r-p794-hhq5, GO-2026-6986
Mitigation
- Upgrade github.com/kubeshark/kubeshark to 0.0.2-0.20260812200004-a76a1920dc75 or later.
Who should check
- Projects that depend on Go package github.com/kubeshark/kubeshark (>= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75)
- Anyone running kubeshark >= 53.1.0, < 53.4.0
Vulnerability facts
- Affected
- github.com/kubeshark/kubeshark >= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75
- Fixed in
- 0.0.2-0.20260812200004-a76a1920dc75
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: High
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- EPSS
- 0.20% chance of exploitation in 30 days (percentile 6, 2026-11-28)
- CWE
- CWE-88
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/kubeshark/kubeshark | >= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75 | 0.0.2-0.20260812200004-a76a1920dc75 | ghsa |
| kubeshark | >= 53.1.0, < 53.4.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-129235. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-129235.md Affected: github.com/kubeshark/kubeshark >= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75 Fixed in: 0.0.2-0.20260812200004-a76a1920dc75 Steps: 1. Search this machine and project for github.com/kubeshark/kubeshark (Go), kubeshark: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Vendor advisories
Patches
FAQ
Is CVE-2026-129235 being exploited?
There is no confirmed exploitation: CVE-2026-129235 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-129235?
Medium: CVSS 5.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-129235?
github.com/kubeshark/kubeshark >= 0.0.2-0.20260304171723-eb7dc42b6ea0, < 0.0.2-0.20260812200004-a76a1920dc75.
Is there a fix for CVE-2026-129235?
Yes. Fixed in 0.0.2-0.20260812200004-a76a1920dc75. Upgrade github.com/kubeshark/kubeshark to 0.0.2-0.20260812200004-a76a1920dc75 or later.
How do I check if I'm affected by CVE-2026-129235?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More github.com/kubeshark/kubeshark vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.2 | CVE-2026-129236 Kubeshark: MCP `start_kubeshark` argument injection via `pod_regex` → image redirect → cluster takeover | Go modules | EPSS 4% |