Skip to main content
VulnerabilityPublished Updated

CVE-2025-69902: kubectl-mcp-server · Code Injection

Affects kubectl-mcp-serverSource CVE Database V5

0

Not known to be exploited · CVSS 9.8 Critical.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
2.1% chance of exploitation in 30 days – higher than 81% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 16 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
PyPIkubectl-mcp-serverpkg:pypi/kubectl-mcp-serverOther threatsAffected
  • =1.2.0
Fixed in–

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

AI-suggested

To mitigate CVE-2025-69902, organizations should immediately restrict network access to the kubectl-mcp-server component, limiting it to trusted administrative hosts and networks. Implement strict input validation and sanitization on all user inputs processed by minimal_wrapper.py to prevent shell metacharacter injection. Employ application-layer firewalls or intrusion detection systems to monitor and block suspicious command execution attempts. Since no official patches are currently available, consider deploying temporary workarounds such as disabling or isolating the vulnerable component where feasible. Regularly audit and monitor logs for unusual activity related to kubectl-mcp-server. Plan and prioritize patching as soon as vendor fixes are released. Additionally, enforce the principle of least privilege on systems running kubectl-mcp-server to minimize potential damage from exploitation. Conduct security awareness training for administrators managing Kubernetes environments to recognize and respond to exploitation attempts.

Description

CVE-2025-69902 is a critical command injection vulnerability found in the minimal_wrapper.py component of kubectl-mcp-server version 1.2.0. This flaw allows unauthenticated remote attackers to execute arbitrary shell commands by injecting malicious shell metacharacters. The vulnerability has a CVSS score of 9.8, reflecting its high impact on confidentiality, integrity, and availability without requiring user interaction or privileges. Although no known exploits are currently reported in the wild, the ease of exploitation and the critical nature of the vulnerability make it a significant threat. Organizations using kubectl-mcp-server should prioritize patching or mitigating this issue to prevent potential compromise. The vulnerability is related to CWE-94, indicating improper control of code injection.

References

Community reviews

Loading reviews…