CVE-2025-66404 json
mcp-server-kubernetes potential security issue in exec_in_pod tool
published 2025-12-03 11 mo ago modified 2026-06-17 4 mo ago also GHSA-wvxp-jp4w-w8wg , EUVD-2025-201109
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm mcp-server-kubernetes 2.9.8
- suyogs mcp-server-kubernetes 2.9.8
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 11 mo ago
Exploit prediction
1.48% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-wvxp-jp4w-w8wg referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mcp-server-kubernetes | <2.9.8 |
2.9.8 |
Affected products
- Flux159 mcp-server-kubernetes
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/Flux159/mcp-server-kubernetes/commit/d091107ff92d9ffad1b3c295092f142d6578c48b
web, patch
-
github.com
/Flux159/mcp-server-kubernetes/commit/47d3136dd272c947464524f11f47bb519814698e
web
-
github.com
/Flux159/mcp-server-kubernetes/security/advisories/GHSA-wvxp-jp4w-w8wg
exploit, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-66404
advisory
-
github.com
/Flux159/mcp-server-kubernetes
package
Sources
- CVE List CVE-2025-66404
- GitHub Advisory GHSA-wvxp-jp4w-w8wg
- NVD CVE-2025-66404
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.