mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials
CVE-2026-61459 · GHSA-wmg3-h8mf-wgvr · published 2026-07-10 · updated 2026-10-28
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 2.4%
- Fixed in
- 3.9.0
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectlget, kubectldescribe, 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.
Upgrade mcp-server-kubernetes to 3.9.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| mcp-server-kubernetes | npm | < 3.9.0 | 3.9.0 |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- HighMCP Server Kubernetes: Tool Access Control Bypass via Presentation-Layer Filtering Without Execution-Layer Enforcementmcp-server-kubernetes
- HighMCP Server Kubernetes has an Argument Injection in port_forward tool via space-splittingmcp-server-kubernetes
- HighMCP Server Kubernetes vulnerable to command injection in several toolsmcp-server-kubernetes
- MediumMCP Server Kubernetes: kubectl-generic flag injection enables Kubernetes bearer token exfiltrationmcp-server-kubernetes
- Mediummcp-server-kubernetes has potential security issue in exec_in_pod toolmcp-server-kubernetes
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.