mcp-server-kubernetes vulnerable to command injection in several tools
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
MCP Server Kubernetes is an MCP Server that can connect to a Kubernetes cluster and manage it. A command injection vulnerability exists in the mcp-server-kubernetes MCP Server. The vulnerability is caused by the unsanitized use of input parameters within a call to child_process.execSync, enabling an attacker to inject arbitrary system commands. Successful exploitation can lead to remote code execution under the server process's privileges. This vulnerability is fixed in 2.5.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Flux159 | mcp-server-kubernetes | before 2.5.0 | 2.5.0 | Patch available | CNA |
| — | mcp-server-kubernetes (npm) | before 2.5.0 | 2.5.0 | Patch available | GHSA-gjv4-ghm7-q58q |
- mcp-server-kubernetes VendorFlux159 Affected before 2.5.0 Fixed in 2.5.0 Patch available CNA
- mcp-server-kubernetes (npm) Vendor— Affected before 2.5.0 Fixed in 2.5.0 Patch available GHSA-gjv4-ghm7-q58q
Remediation
- Fix · CNA mcp-server-kubernetes (Flux159) Fixed in 2.5.0
- Fix · GHSA-gjv4-ghm7-q58q mcp-server-kubernetes (npm) Fixed in 2.5.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-53355
- 2026-10-03 Alias added: GHSA-gjv4-ghm7-q58q
References
Other 6
- https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-gjv4-ghm7-q58q
- https://github.com/Flux159/mcp-server-kubernetes/commit/ab165f5a0eea917fef5dbae954506fff6f4bf514
- https://github.com/cyanheads/git-mcp-server/commit/0dbd6995ccdf76ab770b58013034365b2d06c4d9
- https://equixly.com/blog/2025/03/29/mcp-server-new-security-nightmare
- https://github.com/Flux159/mcp-server-kubernetes
- https://invariantlabs.ai/blog/mcp-github-vulnerability
More Flux159 vulnerabilities
- TI-2026-44064 MCP Server Kubernetes < 3.9.0 Argument Injection via kubectl Structured Tools CVSS 4.0CRITICAL 9.3
- TI-2026-34208 Incorrect authorization in Flux159 mcp-server-kubernetes CVSS 3.1HIGH 8.8
- TI-2025-40841 mcp-server-kubernetes potential security issue in exec_in_pod tool CVSS 3.1HIGH 8.8
- TI-2026-28763 MCP Server Kubernetes has Argument Injection in its port_forward tool via space-splitting CVSS 3.1HIGH 8.3
- TI-2026-06677 Flux159 mcp-game-asset-gen MCP index.ts image_to_3d_async path traversal CVSS 4.0MEDIUM 6.9
- TI-2026-34833 mcp-server-kubernetes: kubectl-generic flag injection enables Kubernetes bearer token exfiltration CVSS 3.1MEDIUM 6.1
Sources
- CVE-2025-53355 · CVE Program
- CVE-2025-53355 · NVD
- FIRST EPSS
- GHSA-gjv4-ghm7-q58q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences