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 defau…
- CVSS
- 5.3Medium
- Chance of exploitation (EPSS)
- 0.19%
- Published
- Nov 16, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Kubeshark that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Kubeshark
- >= 53.1.0, < 53.4.0
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 products
Get alerts for these →Timeline 3
Latest change: Tenable Container Security plugin 497523: SCA: security update for github.com/kubeshark/kubeshark (GHSA-gj7r-p794-hhq5) (Dec 2, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Dec 3, 2026
Mon, Nov 16, 2026
- CVECVE-2026-129235 published (CVSS 5.3)CVE Program · 17:17 UTC
References 4
- github.com /kubeshark/kubeshark/commit/a76a1920dc7587be700a17f1592f58a9512ad214
- github.com /kubeshark/kubeshark/pull/1957
- github.com /kubeshark/kubeshark/releases/tag/v53.4.0
- github.com /kubeshark/kubeshark/security/advisories/GHSA-gj7r-p794-hhq5