Critical, CVSS 9.3PyPIAmendedPublished
mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials
CVE-2026-61459 · GHSA-wmg3-h8mf-wgvr
- Affected
- PyPI mcp-server-kubernetes < 3.9.0
- Fixed in
- 3.9.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 3.9.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.