mcp-cve-project

CVE-2026-61459 | mcp-server-kubernetes structured tool --server argument injection | Critical | 9.8

CVE Information

Field Value
CVE / NVD CVE-2026-61459
Date (index) 2026-07-10
Affected product (index) mcp-server-kubernetes (kubectl_get / kubectl_describe / kubectl_delete --server injection)
GHSA ID None — no GitHub advisory published (search)
OWASP MCP Top 10 (2025) MCP02 — Privilege Escalation via Scope Creep
Published / disclosed 2026-07-10
Ecosystem npm
Component mcp-server-kubernetes structured kubectl tools
EPSS score 0.004210000 (FIRST EPSS, 2026-07-16)
CVSS score 9.8 (v3.1) / 9.3 (v4)
CWE Argument injection / dangerous flag bypass
Affected versions < 3.9.0
Fixed versions 3.9.0
Fix status Patched
Exploit status Public CVE record
Notes Added during 2026-07-17 gap review. Distinct from CVE-2026-47250 (kubectl_generic flags). port_forward fixed separately in 4.0.0 per upstream.

CVE Breakdown

What is the vulnerability?

Structured tools (kubectl_get, kubectl_describe, kubectl_delete) passed resourceType and name parameters with leading dashes into the kubectl argument vector, bypassing assertNoDangerousFlags. Attackers inject --server to redirect kubectl to an attacker-controlled API server and exfiltrate the operator’s bearer token.

Attack prerequisites / exposure

Reachable mcp-server-kubernetes instance with a privileged kubeconfig. LLM- or log-poisoning paths can supply malicious parameter values.

CVE is because of what bug?

Dangerous-flag guard applied only to generic kubectl tool, not structured tools (CWE-88 class).

MCP-specific impact / why it matters

MCP tool calls become a path to full cluster compromise via stolen kubeconfig credentials.

Where was the bug? (source + snippet)

Fix / Remediation

Upgrade to mcp-server-kubernetes >= 3.9.0. Rotate cluster credentials if exposure is suspected.