CVE-2025-59376
JSON

3.7low

mcp-kubernetes-server has a Command Injection vulnerability

Severity
3.7low CVSS:3.1 by mitre
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-hjm5-xgj8-vwj6PYSEC-2026-1619

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.

Affected

Product or packageVersionsReported by
feiskyer mcp-kubernetes-serverup to 0.1.11CVE List
mcp-kubernetes-server (PyPI)up to 0.1.11GitHub Advisory Database, PyPA Advisory Database
feisky mcp-kubernetes-serverup to 0.1.11NVD

All scores

mitre3.7low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
PyPA Advisory Database5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-77CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

mcp-kubernetes-server does not correctly enforce the --disable-write / --disable-delete protections when commands are chained. The server only inspects the first token to decide whether an operation is write/delete, which allows a read-like command to be followed by a write action using shell metacharacters (e.g., kubectl version; kubectl delete pod <name>). A remote attacker who can invoke the server may therefore bypass the intended write/delete restrictions and perform state-changing operations against the Kubernetes cluster.

Affected versions: through 0.1.11 (no patched release available as of now).

Mitigations:

  • Run with --disable-kubectl and/or --disable-helm to fully block those execution paths.
  • Put the server behind an allow-list proxy restricting allowed subcommands.
NVD (es)

feiskyer mcp-kubernetes-servidor hasta la versión 0.1.11 no considera comandos encadenados en la implementación de --disable-write y --disable-delete, por ejemplo, permite un comando 'kubectl version; kubectl delete pod' porque la primera palabra (es decir, 'version') no es una operación de escritura o eliminación.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59376 changed 2025-09-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-hjm5-xgj8-vwj6 changed 2026-07-07CC-BY-4.0
NVDCVE-2025-59376 changed 2026-09-30Public domain
PyPA Advisory DatabasePYSEC-2026-1619 changed 2026-07-07CC-BY-4.0