Arbitrary Command Injection Affecting kubectl-mcp-tool package, versions [,1.2.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.36% (59th 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-PYTHON-KUBECTLMCPTOOL-15763262
  • published25 Mar 2026
  • disclosed16 Mar 2026
  • creditUnknown

Introduced: 16 Mar 2026

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

How to fix?

Upgrade kubectl-mcp-tool to version 1.2.0 or higher.

Overview

kubectl-mcp-tool is an Alias package for kubectl-mcp-server (use kubectl-mcp-server instead)

Affected versions of this package are vulnerable to Arbitrary Command Injection via the run_kubectl_command function in the minimal_wrapper.py component. An attacker can execute arbitrary system commands by injecting shell metacharacters.

CVSS Base Scores

version 4.0
version 3.1