CVE-2025-53355 mcp-server-kubernetes vulnerable to command injection in several tools

High 7.5 Published Updated

Attackers can inject arbitrary system commands via unsanitized inputs in the Kubernetes MCP server, leading to remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-53355?

CVE-2025-53355 is a high-severity command injection vulnerability in Flux159 mcp-server-kubernetes, published on 8 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

MCP Server Kubernetes is an MCP Server that can connect to a Kubernetes cluster and manage it. A command injection vulnerability exists in the mcp-server-kubernetes MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to child_process.execSync, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. This vulnerability is fixed in 2.5.0.

Weakness: CWE-77

Which versions are affected by CVE-2025-53355?

2 open source packages ship an affected version, including mcp-server-kubernetes.

PackageAffectedFixed in
mcp-server-kubernetes npmAll versions2.5.0
mcp-server-kubernetes npmAll versions2.5.0

How do I fix CVE-2025-53355?

Upgrade mcp-server-kubernetes to 2.5.0 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-53355 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-53355 exists.

Sources

Also known as GHSA-gjv4-ghm7-q58q.

Is CVE-2025-53355 in your software?

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

Check your SBOMs for free