CVE-2025-69902

Published Mar 16, 2026 CVSS 3.1 · 9.8 Critical EPSS 2.4% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A command injection flaw exists in the minimal_wrapper.py module of kubectl-mcp-server version 1.2.0. The attacker can inject arbitrary shell metacharacters, causing the underlying operating system to execute commands supplied by the attacker. This leads to uncontrolled modification, execution, or deletion of data, with full compromise of confidentiality, integrity, and availability. The weakness is a classic example of CWE‑94, reflected in the high CVSS score of 9.8.

Affected Systems

Only kubectl‑mcp‑server running the vulnerable 1.2.0 release is affected, specifically when the minimal_wrapper.py component is active and used for command execution. No vendor or product mapping is provided by the CNA, so any system that has installed this version and exposes the wrapper remains at risk.

Risk and Exploitability

The CVSS score of 9.8 coupled with an EPSS score of 2% indicates a significant, though not extreme, exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. Based solely on the description, the likelihood is that an attacker with network or local access to the host running the wrapper can provide malicious input that is passed directly to the shell, resulting in arbitrary command execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade kubectl‑mcp‑server to a newer release that omits or fixes the minimal_wrapper.py component.
  • If an upgrade is unavailable, remove or disable the minimal_wrapper.py script from the server to eliminate the vulnerable execution path.
  • When the wrapper must remain, enforce strict input validation and sandbox the shell execution context, running it under the least privilege necessary.

Generated by OpenCVE AI on June 18, 2026 at 10:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Command Injection in kubectl-mcp-server Allows Arbitrary Shell Execution
Type Values Removed Values Added
Title Command Injection in kubectl-mcp-server Allows Arbitrary Shell Execution
Type Values Removed Values Added
Title Command Injection in kubectl‑mcp-server Minimal Wrapper Vulnerability
Type Values Removed Values Added
Title Command Injection in kubectl‑mcp-server Minimal Wrapper Vulnerability
Type Values Removed Values Added
Weaknesses CWE-94
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Rohitg00
Rohitg00 kubectl-mcp-server
Vendors & Products Rohitg00
Rohitg00 kubectl-mcp-server
Type Values Removed Values Added
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.
References
Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 17, 2026, 2:01 PM
Reserved
Jan 9, 2026, 12:00 AM
Status
Deferred
Published
Mar 16, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:00 AM