CVE-2025-66404
MCP Server Kubernetes is an MCP Server that can connect to a Kubernetes cluster and manage it. Prior to 2.9.8, there is a security issue exists in the exec_in_pod tool of the mcp-server-kubernetes MCP Server. The tool accepts user-provided commands in both array and string formats. When a string format is provided, it is passed directly to shell interpretation (sh -c) without input validation, allowing shell metacharacters to be interpreted. This vulnerability can be exploited through direct command injection or indirect prompt injection attacks, where AI agents may execute commands without explicit user intent. This vulnerability is fixed in 2.9.8.
EPSS 1.48% · 72.7th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| suyogs | mcp-server-kubernetes | 0 |
| npm | mcp-server-kubernetes | 0 |
| Flux159 | mcp-server-kubernetes | < 2.9.8 |
Timeline
- Dec 3, 2025 CVE Published
- Dec 4, 2025 CVE Updated
- Dec 4, 2025 EPSS Score
- Dec 4, 2025 PoC Published
- Dec 9, 2025 EPSS Score
- Dec 14, 2025 EPSS Score
- Dec 18, 2025 EPSS Score
- Dec 23, 2025 EPSS Score
- Dec 28, 2025 EPSS Score
- Jan 2, 2026 EPSS Score
- Jan 7, 2026 EPSS Score
- Jan 11, 2026 EPSS Score
References
- https://github.com/Flux159/mcp-server-kubernetes/commit/d091107ff92d9ffad1b3c295092f142d6578c48b fix
- https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-wvxp-jp4w-w8wg exploit
- https://nvd.nist.gov/vuln/detail/CVE-2025-66404 advisory
- https://github.com/Flux159/mcp-server-kubernetes package
- https://github.com/Flux159/mcp-server-kubernetes/commit/47d3136dd272c947464524f11f47bb519814698e fix