Argument Injection Vulnerability in mcp-server-kubernetes by Flux159
CVE-2026-134817
7.1HIGH
What is CVE-2026-134817?
The mcp-server-kubernetes product prior to version 4.2.0 contains a vulnerability that enables remote clients to inject arbitrary kubectl flags. Attackers can exploit this by sending specific dash-prefixed values as arguments in several tools, including exec_in_pod, kubectl_patch, and kubectl_logs. This allows malicious users to manipulate kubectl commands to read files from the server's host system, effectively circumventing security restrictions designed to prevent unauthorized file access. It is crucial for users to update to version 4.2.0 or later to mitigate this risk.
Affected Version(s)
mcp-server-kubernetes 0 < 4.2.0
