Kubeshark fixes MCP tool parameter injection vulnerability
Start here
Kubeshark's MCP tool start_kubeshark has a parameter injection vulnerability: the tool splices the caller-supplied pod_regex as a bare positional argument into the tap command, and there is no -- option terminator, so values beginning with - are parsed by cobra as command-line flags, thereby injecting --set to override Helm values and redirecting the deployed worker, hub and front images to an attacker-controlled repository. The worker DaemonSet runs privileged, with hostNetwork and the host filesystem mounted, so the attacker's image can read the host's cluster management kubeconfig, leading to takeover of the Kubernetes cluster. The vulnerability has been fixed in commit a76a192.
Generated by AI from reports · Updated 12 days ago
Progress timeline
- GitHub Security AdvisoriesSelectedKubeshark fixes MCP tool parameter injection vulnerability leading to cluster takeover
Kubeshark's MCP tool start_kubeshark has a parameter injection vulnerability that can lead to takeover of a Kubernetes cluster, fixed in commit a76a192. The tool concatenates the caller-supplied pod_regex as a bare positional argument into the tap command, and there is no -- option terminator, so values beginning with - are parsed by cobra as command-line flags, thereby injecting --set to override Helm values and redirect the deployed worker, hub and front images to an attacker-controlled repository; the worker DaemonSet runs privileged, with hostNetwork and the host filesystem mounted, so the attacker's image can read the host's cluster-admin kubeconfig.
Related discussion
- Older than 72 hours · Not included in the 72-hour figures
- X@elchefoOnly exposed when kubeshark mcp runs with --allow-destructive; fixed in v53.4.0 (Aug 13), advisory published Nov 16: ht…(opens the original post in a new tab)
- X@elchefoAn MCP tool that shells out deserves the argv hygiene of any CLI fed untrusted input, since a prompt injection can writ…(opens the original post in a new tab)
- X@Amu_Lab__1/3 GitHub Advisory GHSA-8vf2-hxg5-crqh(High、CVE-2026-129236) https://t.co/kwTmQgAYOv(opens the original post in a new tab)
- X@Amu_Lab__If you use Kubeshark's MCP, upgrade to 53.4.0 or later. The advisory (High, CVE-2026-129236) states that in start_kubeshark in v53.1.0–v53.3.0, pod_regex is interpreted as a flag…(opens the original post in a new tab)
- X@icelimit3dแพตช์ใน v53.4.0 ย้าย pod_regex ไปหลัง -- ถ้ายังอัปเดตไม่ได้ อย่าเปิด --allow-destructive ถ้าไม่จำเป็น และอย่าให้เครื่อง…(opens the original post in a new tab)
1 likes·Nov 17 15:42Collect
- X@icelimit3dMCP tool ที่เอา argument จาก agent ไปต่อเป็น CLI ถ้าไม่มี -- คั่น รอวันโดนว่ะ 555 Kubeshark start_kubeshark ต่อ pod_re…(opens the original post in a new tab)
- X@agentprime_io🟠 Kubeshark: MCP start_kubeshark argument injection via pod_regex → image redirect → cluster takeover (CVE-2026-129236)…(opens the original post in a new tab)
Attention trend
New sources per day
- Nov 17: 5 new sources (1 outlets, 4 accounts)
- Nov 18: 0 new sources (0 outlets, 0 accounts)
- Nov 19: 0 new sources (0 outlets, 0 accounts)
- Nov 20: 0 new sources (0 outlets, 0 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)