CVE-2025-66404: Mcp-server-kubernetes Has Potential Security Issue
Affects mcp-server-kubernetesSource GCVE Database
Not known to be exploited · CVSS 6.4 Medium : upgrade to 2.9.8 when convenient.
Data as of 25 Nov 2026, 03:36 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 6.4 |
|---|
- Patch
- Available – fixed in 2.9.8
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 3 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade mcp-server-kubernetes to 2.9.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmmcp-server-kubernetes | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in mcp-server-kubernetes version 2.9.8 that addresses this vulnerability. Users should upgrade to version 2.9.8 or later to remediate the issue. Until patched, avoid passing user-controlled string commands to the exec_in_pod tool or ensure commands are provided as arrays to prevent shell interpretation. Review usage of the exec_in_pod tool to restrict access and validate inputs.
Description
The mcp-server-kubernetes package contains a vulnerability in its exec_in_pod tool where user-supplied string commands are executed via a shell without input validation. This allows shell metacharacters to be interpreted, enabling command injection. The flaw can be exploited directly by users with access or indirectly through prompt injection attacks involving AI agents. A fix is available in version 2.9.8.
References
- github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-wvxp-jp4w-w8wg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-66404 (opens in a new tab)
- github.com/Flux159/mcp-server-kubernetes/commit/47d3136dd272c947464524f11f47bb519814698e (opens in a new tab)
- github.com/Flux159/mcp-server-kubernetes/commit/d091107ff92d9ffad1b3c295092f142d6578c48b (opens in a new tab)
- github.com/Flux159/mcp-server-kubernetes (opens in a new tab)