CVE-2025-65719 Open Source Kubectl MCP Server vulnerable to arbitrary code execution via user interaction with crafted HTML page
Attackers can execute arbitrary code on victim systems via user interaction with a crafted HTML page in the Kubectl MCP Server.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-65719?
CVE-2025-65719 is a critical code injection vulnerability in n/a, published on 12 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-94
Which versions are affected by CVE-2025-65719?
5 open source packages ship an affected version, including kubectl-mcp-server.
| Package | Affected | Fixed in |
|---|---|---|
kubectl-mcp-server PyPI | All versions | 1.2.0 |
kubectl-mcp-server PyPI | All versions | 1.2.0 |
kubectl-mcp-server PyPI | All versions | 1.2.0 |
kubectl-mcp-server npm | All versions | 1.2.0 |
kubectl-mcp-server npm | All versions | 1.2.0 |
How do I fix CVE-2025-65719?
Upgrade kubectl-mcp-server to 1.2.0 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-65719 being exploited?
There is no known exploitation of CVE-2025-65719 in the wild and no public exploit code.
Sources
Also known as GHSA-94gr-w3q5-rfqr, PYSEC-2026-371.