Read the docs

Argument injection in Kubeshark MCP tool allows image redirection

Priority MEDIUM 47CWE-88Published · Updated

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

Fix Fixed kubeshark (kubeshark): 53.4.0github.com/kubeshark/kubeshark (Go): 0.0.2-0.20260812200004-a76a1920dc75

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
kubesharkkubeshark53.1.0 to before 53.4.053.4.0Patch availableCNA
—github.com/kubeshark/kubeshark (Go)0.0.2-0.20260206182249-0bbbb473ea3f to before 0.0.2-0.20260812200004-a76a1920dc750.0.2-0.20260812200004-a76a1920dc75Patch availableGHSA-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

  1. 2026-11-16 Threatist record created from CVE-2026-129236
  2. 2026-11-16 Alias added: GHSA-8vf2-hxg5-crqh
  3. 2026-11-16 Fix available: Go/github.com/kubeshark/[email protected] · GHSA-8vf2-hxg5-crqh
  4. 2026-11-16 CVSS score added · GHSA-8vf2-hxg5-crqh
  5. 2026-11-16 Weakness changed · GHSA-8vf2-hxg5-crqh
  6. 2026-11-16 6 new references · GHSA-8vf2-hxg5-crqh

References

  • TI-2026-92229 Kubeshark MCP download_file writes files to unvalidated paths CVSS 3.1MEDIUM 5.3

Sources