CVE & CISA-KEV Catalog

CVE-2025-66404

MEDIUM
6.4
CVSS v3
NVD

Description

MCP Server Kubernetes is an MCP Server that can connect to a Kubernetes cluster and manage it. Prior to 2.9.8, there is a security issue exists in the exec_in_pod tool of the mcp-server-kubernetes MCP Server. The tool accepts user-provided commands in both array and string formats. When a string format is provided, it is passed directly to shell interpretation (sh -c) without input validation, allowing shell metacharacters to be interpreted. This vulnerability can be exploited through direct command injection or indirect prompt injection attacks, where AI agents may execute commands without explicit user intent. This vulnerability is fixed in 2.9.8.

How to fix

Remediation Available
mcp-server-kubernetesNVD
Affected:< 2.9.8Fixed in:2.9.8CVE-2025-66404derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredHigh
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

Exploit Intelligence

1.31%probability of exploitation in 30 days
67thpercentile

Moderate risk: more likely to be exploited than 67% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-77 (Command Injection) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-3400Critical10.0100%KEV + Ransom-
CVE-2024-21887Critical9.1100%KEV + Ransom-
CVE-2023-1671Critical9.8100%KEVFix
CVE-2023-1389High8.8100%KEVFix
CVE-2021-1498Critical9.8100%KEVFix
CVE-2012-1823Critical9.8100%KEVFix
Embed a live status badge for CVE-2025-66404
CVE-2025-66404 severity badge

Markdown

[![CVE-2025-66404](https://tridentstack.com/cve/badge/CVE-2025-66404.svg)](https://tridentstack.com/cve/CVE-2025-66404)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-66404"><img src="https://tridentstack.com/cve/badge/CVE-2025-66404.svg" alt="CVE-2025-66404"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-16.