Skip to main content

Kubeshark EUVDEUVD-2026-126528

| CVE-2026-129236 HIGH
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') (CWE-88)
2026-11-16 GitHub_M GHSA-8vf2-hxg5-crqh
7.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Poison agent-ingested content (prompt injection)
  2. Delivery
    Agent calls start_kubeshark with malicious pod_regex
  3. Exploit
    pod_regex parsed as --set Helm override
  4. Install
    Privileged worker image redirected to attacker registry
  5. C2
    Malicious root image runs in hostNetwork DaemonSet
  6. Execute
    Read host cluster-admin kubeconfigs
  7. Impact
    Cluster-admin compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
Exploitation Conditions

Exploitation requires a specific, non-default deployment: the operator must have launched the server as 'kubeshark mcp --allow-destructive' (without this flag the start_kubeshark tool is not registered at all), and the host running the MCP server must already hold a kubeconfig with permission to deploy the privileged Kubeshark worker DaemonSet (hostNetwork, host filesystem mounted, running as root). The attacker must also influence the tool's pod_regex argument - in practice via content an actively-driven agent ingests and replays (indirect prompt injection) - and must stand up an attacker-controlled container registry/image. Limiting factors: local interface only (no network listener), required active operator/agent interaction, pre-existing high-privilege Kubernetes context, and the explicit opt-in --allow-destructive flag. These conditions mean default or read-only MCP deployments are not exposed.

Impact

This is a genuinely high-impact but heavily conditioned issue, and the signals mostly agree once read carefully. The NVD/GHSA CVSS 3.1 vector (AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H = 7.2) encodes a local attack surface, high attack complexity, high privileges already held, required user interaction, and a scope change - all of which depress the base score despite a maximal C:H/I:H/A:H impact (cluster-admin takeover). The GHSA explicitly argues down from the reporter's AV:N/PR:N (8.3) to AV:L/PR:H, and that reasoning is sound: 'kubeshark mcp' is a local stdio MCP server with no network listener, and two administrative preconditions must already hold (the non-default --allow-destructive flag AND a host kubeconfig able to deploy the privileged DaemonSet). No EPSS score and no KEV status are present in the input, so there is no quantitative exploitation-probability or confirmed-active-exploitation signal to weigh - absence here is not evidence of safety, only missing data. SSVC-style framing: exploitation is not confirmed in-the-wild, automatable is effectively No (requires an operator actively driving an agent plus attacker-controlled registry/image infrastructure), technical impact is Total. The vendor-ecosystem Decision label is 'this_week', consistent with real-but-not-emergency urgency. Net: this is a real priority for the narrow population actually running the MCP server with --allow-destructive, not a widespread drop-everything event - the high CVSS impact half is fully justified, but the local/high-privilege/high-complexity preconditions sharply limit the exposed population.

Exploit ScenarioDerived

An operator runs 'kubeshark mcp --allow-destructive' on a host that already holds a kubeconfig able to deploy the privileged Kubeshark worker DaemonSet, and drives it with an AI agent. Attacker-controlled content ingested by that agent (indirect prompt injection) causes the agent to call start_kubeshark with pod_regex set to '--set=tap.docker.registry=<attacker>,tap.docker.tag=<tag>', which cobra parses as a real Helm --set override and redirects the privileged worker/Hub/front images to an attacker registry. The malicious image runs as root in the hostNetwork/host-filesystem DaemonSet and reads the host's cluster-admin kubeconfigs, yielding full cluster takeover. A public PoC reference exists in the GHSA advisory (reporter-supplied, abridged); it is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

Argument injection in the Kubeshark MCP server's start_kubeshark tool (cmd/mcpRunner.go) lets a caller-controlled pod_regex be parsed as a Helm --set override, redirecting the tap.docker.registry and tap.docker.tag values so the deployed worker, Hub, and front images come from an attacker-controlled registry; because the worker DaemonSet runs privileged with host networking and host filesystem access, a malicious image can yield node and cluster-admin compromise. Affected are Kubeshark versions from 53.1.0 up to (but not including) 53.4.0, and only when the operator has explicitly started kubeshark mcp --allow-destructive and the host already holds a kubeconfig permitted to deploy the privileged DaemonSet. The advisory includes a reporter-supplied proof of concept demonstrating deployment of an attacker image and reading of host cluster-admin kubeconfigs; it is not verified as working exploit code, and no CISA KEV entry or public exploit status is reported for this CVE.

RemediationAI

Vendor-released patch: 53.4.0, published at https://github.com/kubeshark/kubeshark/releases/tag/v53.4.0 and delivered by commit a76a1920dc7587be700a17f1592f58a9512ad214 (PR https://github.com/kubeshark/kubeshark/pull/1957); upgrade every host running the MCP server from any 53.1.0-53.3.x release to 53.4.0 or later. The fix appends pod_regex last, after a literal -- end-of-options separator, so it is always parsed as the positional [POD REGEX] and can never be read as a flag. Where upgrading is not immediately possible, the vendor-listed workarounds are: do not run kubeshark mcp with --allow-destructive unless it is strictly required (this removes the start_kubeshark tool entirely, at the cost of the destructive MCP capabilities), do not expose the MCP server to untrusted content or untrusted agent inputs, and restrict the kubeconfig and permissions available to the machine running the MCP server so it no longer holds rights to deploy the privileged Kubeshark DaemonSet. Note that the 53.4.0 patch also tightens the download_file tool's destination confinement (CWE-22, via KUBESHARK_MCP_DOWNLOAD_DIR and symlink checks), which is an additional reason to take this release rather than a narrow backport.

Affected VersionsENISA

kubeshark 53.1.0, < 53.4.0

Affected Packages

go github.com/kubeshark/kubeshark fix: 0.0.2-0.20260812200004-a76a1920dc75
euvd kubeshark fix: 53.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kubeshark is an eBPF-powered network observability tool for Kubernetes, and starting with v53.1.0 it ships an MCP (Model Context Protocol) stdio server subcommand (kubeshark mcp) that exposes tools to an agent running locally on the operator's host. The flaw is CWE-88, argument injection: callStartKubeshark built the kubeshark tap invocation as a slice with the caller-supplied pod_regex inserted as a bare positional element ahead of other flags, with no -- end-of-options separator. Because tap is a cobra command, a value beginning with --set is parsed positionally-agnostic as a flag, so an injected value such as --set=tap.docker.registry=<attacker>,tap.docker.tag=<tag> becomes a genuine Helm value override and controls which container images the tap deployment uses. The namespaces and release_namespace inputs were passed through -n/-s value flags that consume their token, so they are not injectable; only pod_regex is. The payload lands in the context of a privileged DaemonSet (hostNetwork, host filesystem mounted, root inside the container), which is why image control escalates to node and cluster-admin impact and why the scope is marked Changed. The fix commit also bundles hardening for the download_file tool, confining destinations to a download directory with traversal and symlink checks (CWE-22), so the release tag covers more than just this CVE.

Know when Kubeshark gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.2 HIGH
AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Local stdio MCP interface (AV:L), two pre-existing admin preconditions and attacker registry setup (PR:H, AC:H), operator must drive the agent (UI:R), and compromise crosses from CLI into the cluster (S:C) with total impact.

3.1 AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 18:19 EUVD
CVE Published
Nov 16, 2026 - 16:49 cve.org
HIGH 7.2

DescriptionCVE.org

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.

Technical POC Analysis

CWE-88, Improper Neutralization of Argument Delimiters in a Command ("argument injection"), in the Kubeshark CLI's own Go code - not in a dependency.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

CVE-2026-129236 in Kubeshark's MCP server (versions 53.1.0 to 53.3.x) allows an attacker with access to the MCP interface to inject argument overrides that deploy malicious container images, potentially compromising the entire Kubernetes cluster including node and cluster-admin access. This is a high-severity issue requiring immediate attention for organizations using Kubeshark with destructive MCP mode enabled.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling the --allow-destructive flag on the MCP server, restricting network access to the MCP interface, and monitoring for anomalous image pulls.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Low
niche cloud-native Kubernetes observability tool, not broadly enterprise-deployed
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy