9.3critical
MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 2.10% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-wmg3-h8mf-wgvrPYSEC-2026-3685
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Flux159 mcp-server-kubernetes | before 3.9.0 | CVE List |
| mcp-server-kubernetes (npm) | before 3.9.0 | GitHub Advisory Database |
| suyogs mcp-server-kubernetes | before 3.9.0 | NVD |
| mcp-server-kubernetes (PyPI) | before 3.9.0 | PyPA Advisory Database |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| PyPA Advisory Database | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
MCP Server Kubernetes anterior a 3.9.0 contiene una vulnerabilidad de inyección de argumentos en herramientas estructuradas (kubectl_get, kubectl_describe, kubectl_delete) que permite a los atacantes eludir la comprobación de seguridad assertNoDangerousFlags al proporcionar los parámetros resourceType y name con guiones iniciales. Los atacantes pueden inyectar la bandera --server para redirigir los comandos kubectl a un servidor API controlado por el atacante, lo que provoca que el token de portador del operador sea transmitido externamente y permite el compromiso total del clúster.
References
| https://github.com/Flux159/mcp-server-kubernetes/releases/tag/3.9.0 | release-notes, web | |
| https://github.com/Flux159/mcp-server-kubernetes/issues/328 | exploit, issue-tracking, mitigation, technical-description, vendor-advisory, web | |
| https://github.com/Flux159/mcp-server-kubernetes/pull/329 | issue-tracking, patch, web | |
| https://github.com/Flux159/mcp-server-kubernetes/commit/d7890f50a4567bf5d9842541ba6f41e180227f9a | patch, web | |
| https://www.vulncheck.com/advisories/mcp-server-kubernetes-argument-injection-via-kubectl-structured-tools | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-61459 | advisory | |
| https://github.com/Flux159/mcp-server-kubernetes | package | |
| https://pypi.org/project/mcp-server-kubernetes | package | |
| https://github.com/advisories/GHSA-wmg3-h8mf-wgvr | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-61459 changed 2026-11-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wmg3-h8mf-wgvr changed 2026-10-28 | CC-BY-4.0 |
| NVD | CVE-2026-61459 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3685 changed 2026-08-19 | CC-BY-4.0 |