CVE-2026-129236
Received Received - Intake

Command Injection in Kubeshark MCP Tool

Vulnerability report for CVE-2026-129236, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-16

Last updated on: 2026-11-16

Assigner: GitHub, Inc.

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-16
Last Modified
2026-11-16
Generated
2026-11-16
AI Q&A
2026-11-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
kubeshark kubeshark 53.4.0
kubeshark kubeshark From 53.1.0 (inc) to 53.4.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects Kubeshark versions 53.1.0 to 53.4.0. It involves argument injection in the start_kubeshark MCP tool where a caller-controlled pod_regex parameter is appended as a raw positional argument without a -- separator. This allows an attacker to inject Helm value overrides like tap.docker.registry and tap.docker.tag, redirecting deployed images to a malicious registry. Exploitation requires influencing tool arguments and running the MCP server with --allow-destructive flag.

Detection Guidance

Check if your Kubeshark version is between 53.1.0 and 53.4.0. Run: kubeshark version. Inspect MCP server logs for suspicious pod_regex arguments or Helm overrides. Look for unexpected image registries in deployed DaemonSets. Verify if --allow-destructive flag is enabled in MCP server startup.

Impact Analysis

If exploited, an attacker can deploy a malicious image that runs as root in a privileged DaemonSet. This grants cluster-admin access to the Kubernetes cluster, allowing full control over the environment. The attack requires specific conditions like influencing tool arguments and using --allow-destructive mode.

Mitigation Strategies

Upgrade Kubeshark to version 53.4.0 or later immediately. Avoid using --allow-destructive flag in MCP server. Restrict MCP server network exposure. Limit kubeconfig permissions for MCP operations. Monitor for unauthorized image registries in DaemonSets.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-129236. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...