CVE-2026-47250 Details
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.
A privilege escalation vulnerability has been identified in mcp-server-kubernetes, a Model Context Protocol server for managing Kubernetes clusters. This issue affects versions through 3.6.2. The vulnerability arises because the kubectl_generic tool in mcp-server-kubernetes allows user-supplied flags to be passed directly to kubectl without any validation or allowlist. An attacker with limited access to the cluster or codebase, such as a developer with permissions to deploy pods but not cluster-admin rights, can exploit this by injecting a structured JSON line into an application's log. When a privileged operator uses the MCP server to access those logs, the injected command is executed, leading to the exfiltration of the operator's Kubernetes bearer token to an attacker's server. This token can then be used to gain full access to the Kubernetes API, exploiting the operator's service account permissions.
Users can upgrade to mcp-server-kubernetes version 3.7.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 11, 2026CISA-ADP
Assessed Jun 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-6mx4-4h42-r8vh | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.7.0 | [email protected] | Release NotesVendor |
| https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-6mx4-4h42-r8vh | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Flux159 mcp-server-kubernetes | <= 3.6.2 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 11, 2026 | CVE Modified | CISA-ADP |
| Jun 11, 2026 | New CVE Received | [email protected] |
Volerion