# CVE-2026-47250: Flux159 mcp-server-kubernetes argument injection in kubectl_generic

Source: https://junglewise.ai/threats/cve-2026-47250-flux159-mcp-server-kubernetes-argument-injection-in-kubectl  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-11. Updated: 2026-06-11  
License: CC BY 4.0 with a link back

CVE-2026-47250 · Severity: medium · CVSS 6.1 · Published 2026-06-11

mcp-server-kubernetes is a tool that allows AI agents to manage Kubernetes clusters. A security flaw in how it handles commands allows an attacker to trick the system into sending sensitive administrative login tokens to a server controlled by the attacker. If an operator uses an AI assistant to view logs or manage the cluster, the attacker can steal their credentials and gain full administrative control over the Kubernetes environment.

Technologies: [mcp-server-kubernetes (npm)](https://junglewise.ai/threats/technologies/mcp-server-kubernetes). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-47250 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-47250 being exploited in the wild.

**How severe is CVE-2026-47250?** Medium severity, with a CVSS score of 6.1, published 11 June 2026.

**Which products and versions are affected?** mcp-server-kubernetes (npm) <= 3.6.2, SEMVER:introduced=0,fixed=3.7.0.

**Is there a fix for CVE-2026-47250?** Yes. mcp-server-kubernetes (npm): upgrade to 3.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-47250 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-47250?** Check whether you run mcp-server-kubernetes (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mcp-server-kubernetes (npm): upgrade to 3.7.0 or later

  ```sh
  npm install mcp-server-kubernetes@3.7.0
  ```


## Technical details

The kubectl_generic tool in mcp-server-kubernetes fails to validate or allowlist user-supplied flags before passing them to the kubectl binary. An attacker can use indirect prompt injection (e.g., by planting malicious instructions in application logs) to influence an AI agent's call to this tool. By injecting the --server and --insecure-skip-tls-verify flags, the attacker can redirect kubectl API requests to a malicious HTTPS endpoint. Because kubectl sends the Authorization: Bearer token over HTTPS even with self-signed certificates, the attacker can capture and replay the operator's high-privilege credentials against the legitimate Kubernetes API. This issue is fixed in version 3.7.0.

## Affected products

- Flux159 mcp-server-kubernetes <= 3.6.2

## Identifiers

- CVE-2026-47250
- GHSA-6mx4-4h42-r8vh

## Timeline

- 2026-05-20: patched: Version 3.7.0 released
- 2026-05-22: advisory: GitHub Security Advisory published
- 2026-06-11: disclosed: CVE published to NVD

## References

- [https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.7.0](https://github.com/Flux159/mcp-server-kubernetes/releases/tag/v3.7.0)
- [https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-6mx4-4h42-r8vh](https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-6mx4-4h42-r8vh)

## Related threats

- [Flux159 mcp-server-kubernetes authorization bypass in tool execution](https://junglewise.ai/threats/cve-2026-46519-flux159-mcp-server-kubernetes-authorization-bypass-in-tool)
- [Flux159 mcp-server-kubernetes argument injection in port_forward](https://junglewise.ai/threats/cve-2026-39884-flux159-mcp-server-kubernetes-argument-injection-in-port-forward)
- [mcp-server-kubernetes command injection in exec_in_pod](https://junglewise.ai/threats/cve-2025-66404-mcp-server-kubernetes-command-injection-in-exec-in-pod)
- [mcp-server-kubernetes command injection in kubectl tools](https://junglewise.ai/threats/cve-2025-53355-mcp-server-kubernetes-command-injection-in-kubectl-tools)
