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.
Fix
Public exploits 1
- mcp-server-kubernetes 3.8.x - Argument Injection (remote · multiple) Exploit-DB · 2026-08-11
Each line links to the index that lists it, never to exploit code. Exploit-DB's "verified" and a Metasploit rank of good or better count as verified; a PoC-in-GitHub entry is a repository's claim.
Patch, vendor advisory and mitigation references on NVD 3
- https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a Patch
- https://github.com/Flux159/mcp-server-kubernetes/issues/328 Issue Tracking, Exploit, Mitigation, Vendor Advisory
- https://github.com/Flux159/mcp-server-kubernetes/pull/329 Issue Tracking, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 9.3 · suyogsNVD modified 2026-10-25 15:10
Affected (CPE criteria) 1
cpe:2.3:a:suyogs:mcp-server-kubernetes:*:*:*:*:*:node.js:*:*
References 5
- https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a Patch
- https://github.com/Flux159/mcp-server-kubernetes/issues/328 Issue Tracking, Exploit, Mitigation, Vendor Advisory
- https://github.com/Flux159/mcp-server-kubernetes/pull/329 Issue Tracking, Patch
- https://github.com/Flux159/mcp-server-kubernetes/releases/tag/3.9.0 Release Notes
- https://www.vulncheck.com/advisories/mcp-server-kubernetes-argument-injection-via-kubectl-structured-tools Third Party Advisory