INCIDENT MAP

Browse / MCP and Tool Server Flaws / CVE-2026-61459

mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials

CVE-2026-61459 ยท 2026-07-10 critical

Class
MCP and Tool Server Flaws (filed by a model that read the advisory)
Technique
Data exfiltration
Affected
mcp-server-kubernetes (npm)
Gets past
Input filter or sanitiser
CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.4% chance of exploitation in 30 days

How it works, in short

Leading-dash arguments evade the dangerous-flag check in kubectl tools, letting an attacker redirect kubectl to their server and receive the bearer token. (Our summary, written by a model. The source text is below.)

Details

MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectl_get, kubectl_describe, kubectl_delete) that allows attackers to bypass the assertNoDangerousFlags security check by supplying resourceType and name parameters with leading dashes. Attackers can inject the --server flag to redirect kubectl commands to an attacker-controlled API server, causing the operator's bearer token to be transmitted externally and enabling full cluster compromise.

References

Source: GitHub Advisory Database, used under CC BY 4.0.