CVE-2026-47250: mcp-server-kubernetes - Privilege Escalation
- Cve: CVE-2026-47250
- Name: mcp-server-kubernetes - Privilege Escalation
- Description: mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Prior to version 3.7.0, the kubectl_generic tool in mcp-server-kubernetes passes user-supplied flags directly to kubectl without any allowlist, enabling a privilege escalation attack within Kubernetes environments. An attacker who already has limited cluster or codebase access, for example, a developer with pod-deployment permissions but not cluster-admin credentials, can plant a single structured JSON line in an application's log output. When an operator with a privileged kubeconfig uses the MCP server to read those logs and their AI agent follows the injected instruction, kubectl_generic is called with --server=https://attacker.example.com and --insecure-skip-tls-verify=true. kubectl sends all API requests, including the Authorization: Bearer <token> header from the operator's kubeconfig to the attacker's endpoint. The captured token can then be replayed directly against the real Kubernetes API server, granting the attacker the full RBAC permissions of the operator's service account. This issue has been patched in version 3.7.0.
- Impact: Attackers can capture operator tokens and escalate privileges to full RBAC permissions, compromising the Kubernetes cluster.
- Remediation: Update to version 3.7.0 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation, information_disclosure
- Requirement type: logged_in
- Requirements: Operator must use MCP server with privileged kubeconfig and AI agent to follow injected instructions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N
- Epss score: 0.00423
- Epss percentile: 0.37071
- Assignee: [email protected]
- Published at: 2026-06-11T19:16:46Z
- Age in days: 166
- Modified at: 2026-10-26T11:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-47250
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.7.0 | nvd | |
| https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-6mx4-4h42-r8vh | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| suyogs:mcp-server-kubernetes | < 3.7.0 | no | cna_alias_text | /v1/products/suyogs/mcp-server-kubernetes |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| flux159/mcp-server-kubernetes | package, releases, security_advisory | yes | /v1/repositories/flux159/mcp-server-kubernetes |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts