CVE-2025-59376 mcp-kubernetes-server has a Command Injection vulnerability
An attacker can bypass write and delete restrictions in the Kubernetes MCP server by using chained commands, leading to unauthorized command execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-59376?
CVE-2025-59376 is a low-severity command injection vulnerability in feiskyer mcp-kubernetes-server, published on 15 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-59376?
3 open source packages ship an affected version, including mcp-kubernetes-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mcp-kubernetes-server PyPI | All versions to 0.1.11 | None |
mcp-kubernetes-server PyPI | All versions to 0.1.11 | None |
mcp-kubernetes-server PyPI | All versions to 0.1.11 | None |
Products include Feisky Mcp-Kubernetes-Server.
How do I fix CVE-2025-59376?
No fix has been published for CVE-2025-59376 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-59376 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59376 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in feiskyer mcp-kubernetes-server
Sources
Also known as GHSA-hjm5-xgj8-vwj6, PYSEC-2026-1619.