3.7low
mcp-kubernetes-server has a Command Injection vulnerability
- Severity
- 3.7low CVSS:3.1 by mitre
- Exploit likelihood
- 0.30% (higher than 24% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-hjm5-xgj8-vwj6PYSEC-2026-1619
Description
feiskyer mcp-kubernetes-server through 0.1.11 does not consider chained commands in the implementation of --disable-write and --disable-delete, e.g., it allows a "kubectl version; kubectl delete pod" command because the first word (i.e., "version") is not a write or delete operation.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| feiskyer mcp-kubernetes-server | up to 0.1.11 | CVE List |
| mcp-kubernetes-server (PyPI) | up to 0.1.11 | GitHub Advisory Database, PyPA Advisory Database |
| feisky mcp-kubernetes-server | up to 0.1.11 | NVD |
All scores
| mitre | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| PyPA Advisory Database | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
What each source says
CVE List
feiskyer mcp-kubernetes-server through 0.1.11 does not consider chained commands in the implementation of --disable-write and --disable-delete, e.g., it allows a "kubectl version; kubectl delete pod" command because the first word (i.e., "version") is not a write or delete operation.
GitHub Advisory Database
mcp-kubernetes-server does not correctly enforce the --disable-write / --disable-delete protections when commands are chained. The server only inspects the first token to decide whether an operation is write/delete, which allows a read-like command to be followed by a write action using shell metacharacters (e.g., kubectl version; kubectl delete pod <name>). A remote attacker who can invoke the server may therefore bypass the intended write/delete restrictions and perform state-changing operations against the Kubernetes cluster.
Affected versions: through 0.1.11 (no patched release available as of now).
Mitigations:
- Run with
--disable-kubectland/or--disable-helmto fully block those execution paths. - Put the server behind an allow-list proxy restricting allowed subcommands.
NVD (es)
feiskyer mcp-kubernetes-servidor hasta la versión 0.1.11 no considera comandos encadenados en la implementación de --disable-write y --disable-delete, por ejemplo, permite un comando 'kubectl version; kubectl delete pod' porque la primera palabra (es decir, 'version') no es una operación de escritura o eliminación.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59376 changed 2025-09-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hjm5-xgj8-vwj6 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2025-59376 changed 2026-09-30 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1619 changed 2026-07-07 | CC-BY-4.0 |