Skip to content
MediumVulnerability

CVE-2026-129235: Kubeshark download_file tool arbitrary file write through MCP

Identifier
CVE-2026-129235
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Kubeshark versions 53.1.0 through 53.4.0 have a flaw in the download_file tool in cmd/mcpRunner.go, which is exposed through kubeshark mcp. The tool accepts caller-controlled path and dest values and writes Kubeshark Hub API response bytes with os.Create(dest) without confining the destination. An attacker who can influence arguments through an AI agent can write those bytes to any path writable by the local MCP user, and can read captured network traffic from default auth-disabled Hub deployments. Reliable code execution is not demonstrated because the written bytes are limited to Hub API responses.

Mitigation

Fixed in 53.4.0. Hub-side default authentication is outside this remediation, so captured traffic can remain readable in default auth-disabled Hub deployments after the destination-write fix.