Arbitrary Command Injection Affecting mcp-server-kubernetes package, versions <2.5.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.13% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MCPSERVERKUBERNETES-10734092
  • published13 Jul 2025
  • disclosed8 Jul 2025
  • creditUnknown

Introduced: 8 Jul 2025

NewCVE-2025-53355  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade mcp-server-kubernetes to version 2.5.0 or higher.

Overview

mcp-server-kubernetes is a MCP server for interacting with Kubernetes clusters via kubectl

Affected versions of this package are vulnerable to Arbitrary Command Injection via the child_process.execSync function. An attacker can execute arbitrary system commands by supplying crafted input parameters.

References

CVSS Base Scores

version 4.0
version 3.1