CVE-2025-59377
mcp-kubernetes-server has an OS Command Injection vulnerability
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
feiskyer mcp-kubernetes-server through 0.1.11 allows OS command injection, even in read-only mode, via /mcp/kubectl because shell=True is used. NOTE: this is unrelated to mcp-server-kubernetes and CVE-2025-53355.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | mcp-kubernetes-server | no fix listed |
References
- https://github.com/feiskyer/mcp-kubernetes-server
- https://github.com/feiskyer/mcp-kubernetes-server/blob/78957b6c1a3982080cf6fcaac6f6e9014116a71c/src/mcp_kubernetes_server/command.py#L38
- https://github.com/william31212/CVE-Requests-1896609
- https://nvd.nist.gov/vuln/detail/CVE-2025-59377
- https://www.tenable.com/cve/CVE-2025-59377