Skip to main content
VulnerabilityPublished Updated

CVE-2025-59377: mcp-kubernetes-server has an OS Command Injection vulnerability

Affects mcp-kubernetes-serverSource GCVE Database

0
Compare
Authoritative record:CVE-2025-59377· Low 3.7

Not known to be exploited · CVSS 3.7 Low.

Data as of 16 Nov 2026, 16:50 UTC

CVSS 3.1 base score
3.7Low
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
PyPImcp-kubernetes-serverAffected
  • <=0.1.11
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid exposing the /mcp/kubectl endpoint to untrusted networks or users. Consider implementing network-level access controls or disabling the vulnerable functionality if possible.

Description

The mcp-kubernetes-server package up to version 0.1.11 contains an OS command injection vulnerability in its /mcp/kubectl endpoint. This flaw allows remote, unauthenticated attackers to execute arbitrary operating system commands on the host by injecting shell metacharacters into user-supplied arguments. The vulnerability exists because the server executes shell commands using subprocess with shell=True, even in read-only mode. Exploitation can lead to full compromise of confidentiality, integrity, and availability of the affected system.

References

Community reviews

Loading reviews…