Skip to main content

Kubectl MCP Server CVE-2025-65719

| EUVDEUVD-2025-209796 CRITICAL
Code Injection (CWE-94)
2026-05-12 mitre GHSA-94gr-w3q5-rfqr
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft malicious HTML payload
  2. Delivery
    Deliver via phishing or compromised site
  3. Exploit
    User interaction triggers payload processing
  4. Install
    Code injection in MCP server
  5. C2
    Execute arbitrary commands with kubectl privileges
  6. Execute
    Deploy malicious Kubernetes workloads
  7. Impact
    Establish cluster persistence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires user interaction with a crafted HTML page, indicating the vulnerability is not exploitable through automated scanning alone but depends on social engineering or watering hole tactics to deliver malicious HTML to victims. The specific interaction model - whether HTML is processed server-side by the MCP server, rendered in a client interface, or parsed through AI assistant workflows - is not detailed in available data. The presence of a Kubectl MCP Server deployment is itself a limiting factor, as this is a niche open-source tool with limited adoption compared to mainstream Kubernetes tooling. Attack success requires the MCP server to be actively running and accessible to process the malicious HTML input. The CVSS vector's UI:N (no user interaction) conflicts with the description, creating uncertainty about whether exploitation truly requires victim action or if automated exploitation is possible under certain configurations.

Impact

Conflicting risk signals require careful interpretation. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates network-reachable, low-complexity exploitation without authentication or user interaction, yet the CVE description explicitly requires user interaction with a crafted HTML page - a direct contradiction suggesting the CVSS vector may be inaccurate or the description incomplete. The UI:N metric conflicts with the stated 'user interaction' requirement. EPSS score of 0.02% despite the 9.8 CVSS rating indicates security researchers judge actual exploitation likelihood as very low, likely due to the niche deployment base of this specialized Kubernetes tooling. No KEV listing confirms absence of observed mass exploitation. OX Security's public security research blog posts provide detailed analysis, suggesting responsible disclosure occurred and awareness exists in the security community. Real-world risk is moderate for organizations actually deploying Kubectl MCP Server (limited user base) but critical if deployed, given the potential for full Kubernetes cluster compromise through arbitrary code execution in a privileged kubectl context. The 'user interaction via HTML' requirement suggests phishing or watering hole attack vectors rather than fully automated scanning-based exploitation.

Exploit ScenarioDerived

An attacker crafts a malicious HTML page containing exploit code targeting the Kubectl MCP Server's input processing logic, then delivers it via phishing email or compromised website visited by administrators managing Kubernetes clusters through MCP-enabled AI assistants. When the victim interacts with the HTML (viewing or processing it through the MCP interface), the injected code executes in the context of the Kubectl MCP Server process, granting the attacker arbitrary command execution with the server's Kubernetes permissions. The attacker then leverages kubectl access to deploy malicious workloads, exfiltrate secrets, or establish persistence across the cluster.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 13, 2026

Remote code execution in Kubectl MCP Server v1.1.1 allows unauthenticated network attackers to execute arbitrary commands on systems running the vulnerable server through crafted HTML-based exploitation vectors. Despite a critical 9.8 CVSS score, EPSS rates exploitation likelihood at only 0.02% (4th percentile), suggesting limited real-world targeting thus far. The vulnerability is classified as CWE-94 (Code Injection), affecting an open-source Model Context Protocol (MCP) server implementation for Kubernetes management. No CISA KEV listing indicates absence of confirmed widespread exploitation at time of analysis.

RemediationAI

Review the GitHub repository at github.com/rohitg00/kubectl-mcp-server for patched releases post-v1.1.1, as no specific fix version is confirmed in NVD data at time of analysis. Consult OX Security's detailed advisories at ox.security/blog/cve-2025-65719-critical-rce-in-kubectl-mcp-server for vendor-recommended mitigation guidance. If no patch is available, implement compensating controls: isolate Kubectl MCP Server instances to dedicated network segments with strict ingress/egress filtering, disable web-accessible endpoints if feasible (may break intended AI assistant integration), enforce principle of least privilege for Kubernetes RBAC bindings associated with the MCP server's service account (limit blast radius of code execution), and implement application-layer filtering to block HTML content delivery through MCP interfaces (may impact legitimate use cases requiring rich formatting). Deploy endpoint detection and response (EDR) on systems running the server to detect post-exploitation activity. Given the user-interaction requirement, security awareness training on phishing risks is a necessary supplementary control.

Affected VersionsENISA

n/a n/a

Affected Packages

npm kubectl-mcp-server fix: 1.2.0
pypi kubectl-mcp-server fix: 1.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm, pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Kubectl MCP Server is an open-source implementation of Anthropic's Model Context Protocol (MCP) designed to enable AI assistants to interact with Kubernetes clusters through kubectl commands. The vulnerability stems from improper neutralization of special elements used in commands (CWE-94 Code Injection), allowing untrusted input to be executed as code. While specifics of the injection vector are not detailed in available data, the requirement for user interaction with a crafted HTML page suggests a browser-based attack vector, potentially exploiting insufficient input validation in web-facing components or endpoints that process external data. The MCP architecture's bridging of AI interfaces with privileged Kubernetes operations creates a high-impact attack surface when input sanitization fails. CPE data shows 'n/a' vendor and product fields, reflecting the open-source nature and limited formal cataloging of this component.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (mitre) · only source for this CVE.

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
May 13, 2026 - 16:22 NVD
9.8 (CRITICAL)
CVE Published
May 12, 2026 - 00:00 nvd
CRITICAL 9.8
CVE Published
May 12, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

An issue in Open Source Kubectl MCP Server v1.1.1 allows attackers to execute arbitrary code on a victim system via user interaction with a crafted HTML page.

Executive ViewAI

Why It Matters

Kubectl MCP Server v1.1.1 contains a critical remote code execution vulnerability (CVSS 9.8) allowing unauthenticated attackers to execute arbitrary commands, but current exploitation probability remains extremely low (0.02% EPSS) with no confirmed active exploitation. Organizations running this open-source Kubernetes management tool should assess exposure immediately, though widespread threat activity has not materialized. Immediate action is required only for systems with direct internet exposure or untrusted network access.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict network access to Kubectl MCP Server v1.1.1 using firewall rules, allowing only trusted internal networks; (2) Disable or remove the service if not actively required; (3) Run the service in a restricted container with minimal privileges and no shell access; (4) Monitor process execution logs for unexpected command invocations; (5) Monitor the official project repository for security updates or version releases.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy