Argument injection in Kubeshark MCP tool allows image redirection
Key facts
- Attack vector
- Local
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-88.
Summary
Kubeshark from 53.1.0 before 53.4.0 appends caller-supplied pod_regex to the kubeshark tap command without an end-of-options separator, an argument injection flaw (CWE-88). A local attacker with high privileges who influences MCP tool arguments can redirect the worker, Hub and front images to an attacker-controlled registry. The privileged worker DaemonSet then runs the malicious image with node and cluster-admin access.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
Description from the CNA
Kubeshark is an eBPF-powered network observability tool for Kubernetes. From 53.1.0 until 53.4.0, the start_kubeshark MCP tool in cmd/mcpRunner.go uses callStartKubeshark to append caller-controlled pod_regex as a bare positional argument to kubeshark tap without a -- end-of-options separator, allowing a value beginning with --set to be parsed as a Helm value override. An attacker who influences tool arguments against kubeshark mcp --allow-destructive can redirect the privileged worker, Hub, and front images through tap.docker.registry and tap.docker.tag to an attacker-controlled registry. Because the deployed worker DaemonSet runs privileged with host networking and host filesystem access, a malicious image can obtain node and cluster-admin access when the host already has permission to deploy it. This issue is fixed in version 53.4.0.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| kubeshark | kubeshark | 53.1.0 to before 53.4.0 | 53.4.0 | Patch available | CNA |
| — | github.com/kubeshark/kubeshark (Go) | 0.0.2-0.20260206182249-0bbbb473ea3f to before 0.0.2-0.20260812200004-a76a1920dc75 | 0.0.2-0.20260812200004-a76a1920dc75 | Patch available | GHSA-8vf2-hxg5-crqh |
- kubeshark Vendorkubeshark Affected 53.1.0 to before 53.4.0 Fixed in 53.4.0 Patch available CNA
- github.com/kubeshark/kubeshark (Go) Vendor— Affected 0.0.2-0.20260206182249-0bbbb473ea3f to before 0.0.2-0.20260812200004-a76a1920dc75 Fixed in 0.0.2-0.20260812200004-a76a1920dc75 Patch available GHSA-8vf2-hxg5-crqh
Remediation
Kubeshark is fixed in version 53.4.0. The Go module github.com/kubeshark/kubeshark is fixed in 0.0.2-0.20260812200004-a76a1920dc75.
Written with Claude Haiku 5.5 from the sources below · 2026-11-16
- Fix · CNA kubeshark (kubeshark) Fixed in 53.4.0
- Fix · GHSA-8vf2-hxg5-crqh github.com/kubeshark/kubeshark (Go) Fixed in 0.0.2-0.20260812200004-a76a1920dc75 Advisory →
Timeline
- 2026-11-16 Threatist record created from CVE-2026-129236
- 2026-11-16 Alias added: GHSA-8vf2-hxg5-crqh
- 2026-11-16 Fix available: Go/github.com/kubeshark/[email protected] · GHSA-8vf2-hxg5-crqh
- 2026-11-16 CVSS score added · GHSA-8vf2-hxg5-crqh
- 2026-11-16 Weakness changed · GHSA-8vf2-hxg5-crqh
- 2026-11-16 6 new references · GHSA-8vf2-hxg5-crqh
References
Other 5
- https://github.com/kubeshark/kubeshark/security/advisories/GHSA-8vf2-hxg5-crqh
- https://github.com/kubeshark/kubeshark/pull/1957
- https://github.com/kubeshark/kubeshark/commit/a76a1920dc7587be700a17f1592f58a9512ad214
- https://github.com/kubeshark/kubeshark/releases/tag/v53.4.0
- https://github.com/kubeshark/kubeshark
More kubeshark vulnerabilities
- TI-2026-92229 Kubeshark MCP download_file writes files to unvalidated paths CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-129236 · CVE Program
- CVE-2026-129236 · NVD
- GHSA-8vf2-hxg5-crqh · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences