CVE-2025-66404Suyogs Mcp-server-kubernetes
High 8.8
Follow: this CVE · Suyogs · Suyogs Mcp-server-kubernetes We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Dec 3, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mcp-server-kubernetes.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | mcp-server-kubernetes |
< 2.9.8 |
2.9.8 |
npm install mcp-server-kubernetes@2.9.8 |
Per OSV / GitHub Advisories (GHSA-wvxp-jp4w-w8wg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| suyogs | mcp-server-kubernetes | < 2.9.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory