CVE-2026-61459
CVE-2026-61459 · MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.3 · Critical · EPSS 2.4% · Public exploit · Fix available
- Published
- Updated
Affected products and versions
mcp-server-kubernetes
- Versions
- ≥ 0, < 3.9.0: Affected (semver)
Update to 3.9.0
mcp-server-kubernetes npm
- Affected ranges
- SEMVER: < 3.9.0
Update to 3.9.0
mcp-server-kubernetes PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.2
- 0.1.3
- 0.1.6
- Affected ranges
- ECOSYSTEM: < 3.9.0
Update to 3.9.0
Original sources
- https://github.com/Flux159/mcp-server-kubernetes/releases/tag/3.9.0
- https://github.com/Flux159/mcp-server-kubernetes/issues/328
- https://github.com/Flux159/mcp-server-kubernetes/pull/329
- https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a
- https://www.vulncheck.com/advisories/mcp-server-kubernetes-argument-injection-via-kubectl-structured-tools
- https://nvd.nist.gov/vuln/detail/CVE-2026-61459