{"id":"CVE-2025-59377","aliases":["CVE-2025-59377","GHSA-4hqq-7q79-932p","PYSEC-2026-409"],"related":[],"kind":"vulnerability","state":"published","title":"mcp-kubernetes-server has an OS Command Injection vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"`feiskyer/mcp-kubernetes-server` through **0.1.11** allows **OS command injection** via the `/mcp/kubectl` endpoint. The handler constructs a shell command with user-supplied arguments and executes it with `subprocess` using `shell=True`, enabling injection through shell metacharacters (e.g., `;`, `&&`, `$()`), even when the server is running in **read-only** mode.\n\nA remote, unauthenticated attacker can execute arbitrary OS commands on the host, resulting in full compromise of confidentiality, integrity, and availability.\n\nThis issue is **distinct from** `mcp-server-kubernetes` and from **CVE-2025-53355**.","format":"markdown","source":"ghsa"}],"published":"2025-09-15T00:00:00.000Z","modified":"2026-11-16T15:45:09.417Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.1.11","status":"affected"}],"vendor":"feiskyer","product":"mcp-kubernetes-server","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.1.11"}],"ecosystem":"PyPI","package":"mcp-kubernetes-server","purl":"pkg:pypi/mcp-kubernetes-server","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.1.11"}],"vendor":"feisky","product":"mcp-kubernetes-server","cpe":"cpe:2.3:a:feisky:mcp-kubernetes-server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.1.11"}],"ecosystem":"PyPI","package":"mcp-kubernetes-server","purl":"pkg:pypi/mcp-kubernetes-server","source":"pysec"}],"references":[{"url":"https://github.com/feiskyer/mcp-kubernetes-server/blob/78957b6c1a3982080cf6fcaac6f6e9014116a71c/src/mcp_kubernetes_server/command.py#L38","tags":["product","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/william31212/CVE-Requests-1896609","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59377","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/feiskyer/mcp-kubernetes-server","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mcp-kubernetes-server/PYSEC-2026-409.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/mcp-kubernetes-server","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://www.tenable.com/cve/CVE-2025-59377","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-4hqq-7q79-932p","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-09-15T14:41:42.524Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-59377","url":"https://www.cve.org/CVERecord?id=CVE-2025-59377","licence":"CVE Terms of Use","modified":"2025-09-15T15:10:40.301Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4hqq-7q79-932p","url":"https://github.com/advisories/GHSA-4hqq-7q79-932p","licence":"CC-BY-4.0","modified":"2026-11-16T15:45:09.417Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-59377","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59377","licence":"Public domain","modified":"2026-06-17T09:46:02.987Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-409","url":"https://osv.dev/vulnerability/PYSEC-2026-409","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:57.494Z"}],"updatedAt":"2026-11-25T22:59:04.657Z","epss":{"score":0.01193,"percentile":0.68889,"date":"2026-12-01T12:00:22.000Z"}}