CVE-2025-59376 mcp-kubernetes-server has a Command Injection vulnerability

Low 3.7 Published Updated

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.

Weakness: CWE-863, CWE-77

Which versions are affected by CVE-2025-59376?

3 open source packages ship an affected version, including mcp-kubernetes-server. It affects 1 product.

PackageAffectedFixed in
mcp-kubernetes-server PyPIAll versions to 0.1.11None
mcp-kubernetes-server PyPIAll versions to 0.1.11None
mcp-kubernetes-server PyPIAll versions to 0.1.11None

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.

Sources

Also known as GHSA-hjm5-xgj8-vwj6, PYSEC-2026-1619.

Is CVE-2025-59376 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free