CVE-2026-61459

MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools

Published Jul 10, 2026 CVSS 4.0 · 9.3 Critical EPSS 2.1% KEV · Not listed
Description
MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectl_get, kubectl_describe, kubectl_delete) that allows attackers to bypass the assertNoDangerousFlags security check by supplying resourceType and name parameters with leading dashes. Attackers can inject the --server flag to redirect kubectl commands to an attacker-controlled API server, causing the operator's bearer token to be transmitted externally and enabling full cluster compromise.

Analysis

AI-generated

Technical impact

MCP Server Kubernetes before version 3.9.0 has an argument‑injection flaw in its structured tools (kubectl_get, kubectl_describe, kubectl_delete). By crafting the resourceType and name parameters with leading dashes, an attacker can bypass the internal assertNoDangerousFlags check and inject a --server flag. The injected flag redirects the kubectl command to an attacker‑controlled API server, causing the operator’s bearer token to be transmitted externally and enabling full compromise of the Kubernetes cluster.

Affected Systems

Flux159 MCP Server Kubernetes versions released prior to 3.9.0 are affected. The product is a Node.js‑based application that exposes the kubectl_* structured tools without proper validation.

Risk and Exploitability

The CVSS score of 9.3 marks the flaw as critical. Its EPSS score of 2 % indicates a low current exploitation probability, and it is not listed in the CISA KEV catalog. However, because the vulnerability can be exploited remotely by invoking the vulnerable tools, the risk remains high if the service is exposed to untrusted networks. An attacker can redirect commands, exfiltrate authentication tokens, and ultimately gain full cluster control.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to MCP Server Kubernetes version 3.9.0 or later
  • If an upgrade cannot be performed immediately, disable or restrict external access to the kubectl_* structured tools until the patch is applied
  • Implement network perimeter controls that block unexpected --server flag usage and enforce strict token validation to prevent accidental token leakage

Generated by OpenCVE AI on August 13, 2026 at 12:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wmg3-h8mf-wgvr mcp-server-kubernetes argument injection can expose Kubernetes cluster credentials
History
Type Values Removed Values Added
First Time appeared Suyogs
Suyogs mcp-server-kubernetes
CPEs cpe:2.3:a:suyogs:mcp-server-kubernetes:*:*:*:*:*:node.js:*:*
Vendors & Products Suyogs
Suyogs mcp-server-kubernetes
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Flux159
Flux159 mcp-server-kubernetes
Vendors & Products Flux159
Flux159 mcp-server-kubernetes
Type Values Removed Values Added
Description MCP Server Kubernetes before 3.9.0 contains an argument injection vulnerability in structured tools (kubectl_get, kubectl_describe, kubectl_delete) that allows attackers to bypass the assertNoDangerousFlags security check by supplying resourceType and name parameters with leading dashes. Attackers can inject the --server flag to redirect kubectl commands to an attacker-controlled API server, causing the operator's bearer token to be transmitted externally and enabling full cluster compromise.
Title MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools
Weaknesses CWE-88
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-88

    Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:07 PM
Reserved
Jul 9, 2026, 2:07 PM
Status
Analyzed
Published
Jul 10, 2026, 7:17 PM
Modified
Oct 25, 2026, 3:10 PM