
Cloud Vulnerability DB
A community-led vulnerabilities database
A command injection vulnerability exists in the mcp-server-kubernetes MCP Server (CVE-2025-53355). 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. This vulnerability affects versions up to 2.4.9 and was fixed in version 2.5.0 (GitHub Advisory).
The vulnerability stems from improper input validation in various tools within the MCP Server's Kubernetes operations. The server constructs and executes shell commands using unvalidated user input directly within command-line strings, introducing the possibility of shell metacharacter injection (|, >, &&, etc.). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, indicating network accessibility with high attack complexity, no privileges required, and user interaction required (GitHub Advisory).
Successful exploitation of this vulnerability can lead to remote code execution under the server process's privileges. An attacker could potentially execute arbitrary system commands, compromising the security of the affected system. The vulnerability allows for both direct command injection and indirect exploitation through prompt injection via pod logs (GitHub Advisory).
The vulnerability has been patched in version 2.5.0 by replacing childprocess.execSync with childprocess.execFileSync, which allows passing arguments as a separate array and avoids shell interpretation entirely. Users are strongly recommended to upgrade to version 2.5.0 or later (GitHub Advisory, GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."