CVE-2025-59376 Details
Description
feiskyer mcp-kubernetes-server through 0.1.11 does not consider chained commands in the implementation of --disable-write and --disable-delete, e.g., it allows a "kubectl version; kubectl delete pod" command because the first word (i.e., "version") is not a write or delete operation.
A command injection vulnerability has been identified in the feiskyer mcp-kubernetes-server application, specifically in versions through 0.1.11. The issue arises within the kubectl tool implementation, where the server fails to properly validate user input for chained commands. This oversight allows an attacker to execute arbitrary OS commands on the host by appending them to legitimate kubectl commands. Additionally, the vulnerability can be exploited to bypass access control mechanisms that restrict write and delete operations, enabling unauthorized modifications to Kubernetes resources.
To address this vulnerability, the command validation logic should be improved to properly sanitize user input and prevent command chaining. The server should also be updated to use a more secure method of executing commands that does not involve shell metacharacters.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/william31212/CVE-Requests-1896609 | CISA-ADP | Third Party Advisory |
| https://github.com/feiskyer/mcp-kubernetes-server/blob/78957b6c1a3982080cf6fcaac6f6e9014116a71c/src/mcp_kubernetes_server/main.py#L106-L137 | [email protected] | Product |
| https://github.com/william31212/CVE-Requests-1896609 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| feisky mcp-kubernetes-server | <= 0.1.11 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 30, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 20, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | CVE Modified | CISA-ADP |
| Sep 15, 2025 | New CVE Received | [email protected] |