Command Injection Affecting mcp-kubernetes-server package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (66th 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 Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MCPKUBERNETESSERVER-12704867
  • published17 Sept 2025
  • disclosed15 Sept 2025
  • creditUnknown

Introduced: 15 Sep 2025

NewCVE-2025-59377  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for mcp-kubernetes-server.

Overview

mcp-kubernetes-server is a The mcp-kubernetes-server is a Model Context Protocol (MCP) server that enables AI assistants to interact with Kubernetes clusters. It serves as a bridge between AI tools (like Claude, Cursor, and GitHub Copilot) and Kubernetes, translating natural language requests into Kubernetes operations and returning the results in a format the AI tools can understand.

Affected versions of this package are vulnerable to Command Injection via the command process. An attacker can execute arbitrary system commands by supplying crafted input to the /mcp/kubectl endpoint when shell=True is used.

References

CVSS Base Scores

version 4.0
version 3.1