NetSight
high7.1

CVE-2026-134817

mcp-server-kubernetes before 4.2.0 contains an argument injection vulnerability that allows remote MCP clients to inject kubectl flags by supplying dash-prefix…

Impact

mcp-server-kubernetes before 4.2.0 contains an argument injection vulnerability that allows remote MCP clients to inject kubectl flags by supplying dash-prefixed values as positional operands in tools such as exec_in_pod, kubectl_patch, and kubectl_logs. Attackers connected over SSE or Streamable HTTP transport can supply values like --filename to make kubectl read files from the server host, bypassing file-read restrictions.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read, low risk of data or systems being changed.

Affected products (Flux159)

ProductAffected versions
Mcp-server-kubernetes
before 4.2.0

Weakness classification

References