Skip to content
OpenAdvisories
High · 7.5 CVE-2025-53355 EUVD-2025-20689GHSA-gjv4-ghm7-q58q

mcp-server-kubernetes vulnerable to command injection in several tools

Published Jul 8, 2025 · Updated Jul 9, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Flux159 mcp-server-kubernetes < 2.5.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm mcp-server-kubernetes < 2.5.0 2.5.0 GHSA-gjv4-ghm7-q58q

References