CVE-2025-69902
Published: 16 March 2026
Description
A command injection vulnerability in the minimal_wrapper.py component of kubectl-mcp-server v1.2.0 allows attackers to execute arbitrary commands via injecting arbitrary shell metacharacters.
Mitigating Controls (NIST 800-53 r5)AI
SI-10 requires input validation at entry points, directly preventing injection of shell metacharacters into commands executed by minimal_wrapper.py.
SI-2 mandates timely identification, reporting, and correction of flaws like CVE-2025-69902 to eliminate the command injection vulnerability.
RA-5 provides vulnerability scanning to detect the presence of CVE-2025-69902 in kubectl-mcp-server deployments.
Security SummaryAI
CVE-2025-69902 is a command injection vulnerability in the minimal_wrapper.py component of kubectl-mcp-server version 1.2.0. The flaw allows attackers to execute arbitrary commands by injecting shell metacharacters. It carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is classified under CWE-94 (Improper Control of Generation of Code ('Code Injection')).
The vulnerability enables remote exploitation over the network with low attack complexity, requiring no privileges or user interaction and maintaining an unchanged scope. Attackers can achieve high-impact effects on confidentiality, integrity, and availability through arbitrary command execution on affected systems.
Mitigation details are available in advisories and project resources, including the AhnLab security advisory at https://asec.ahnlab.com/ko/92922/, the GitHub repository at https://github.com/rohitg00/kubectl-mcp-server, the vulnerable source file at https://github.com/rohitg00/kubectl-mcp-server/blob/main/kubectl_mcp_tool/minimal_wrapper.py, and the PyPI package page for kubectl-mcp-tool at https://pypi.org/project/kubectl-mcp-tool.
Details
- CWE(s)
AI Security AnalysisAI
- AI Category
- AI Agent Protocols and Integrations
- Risk Domain
- Protocol-Specific Risks
- OWASP Top 10 for LLMs 2025
- None mapped
- MITRE ATLAS Techniques
- None mapped
- Classification Reason
- Matched keywords: mcp
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Command injection in a remote server component (kubectl-mcp-server) enables unauthenticated remote code execution via public-facing application exploitation (T1190) and arbitrary Unix shell command execution (T1059.004).