Arbitrary Argument Injection Affecting mcp-server-kubernetes package, versions <3.7.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (11th 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 IDSNYK-JS-MCPSERVERKUBERNETES-17295768
  • published11 Jun 2026
  • disclosed5 Jun 2026
  • credityotampe-pluto

Introduced: 5 Jun 2026

NewCVE-2026-47250  (opens in a new tab)
CWE-88  (opens in a new tab)

How to fix?

Upgrade mcp-server-kubernetes to version 3.7.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 Argument Injection via the kubectl_generic tool. An attacker can obtain sensitive authentication tokens by injecting malicious flags in an application's log output that redirect API requests to an attacker-controlled server, causing the operator's bearer token to be exfiltrated during command execution. This is only exploitable if an operator with a privileged kubeconfig executes the process and their AI agent or automation follows the injected instructions.

CVSS Base Scores

version 4.0
version 3.1