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.
Published: 2026-03-16
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

A command injection vulnerability is present in the minimal_wrapper.py component of kubectl-mcp-server v1.2.0. The flaw allows an attacker to inject arbitrary shell metacharacters, permitting the execution of any command on the host where the wrapper runs. This represents a high‑severity remote code execution risk, as depicted by a CVSS score of 9.8, and can compromise system confidentiality, integrity, and availability.

Affected Systems

The affected product is kubectl-mcp-server version 1.2.0, particularly the minimal_wrapper.py module used for command execution. Systems running this version and exploiting the minimal wrapper are susceptible; no vendor/product mapping was provided by the CNA.

Risk and Exploitability

The vulnerability carries a CVSS score of 9.8 and an EPSS score of less than 1 %, indicating low probability of exploitation but high impact. It is not listed in the CISA KEV catalog. The likely attack vector is local or network-based access to the wrapper script that can inject shell metacharacters; this inference is made based on the description of arbitrary command execution. Exploitation requires the ability to supply input to the wrapper, after which the injected shell metacharacters are executed by the operating system.

Generated by OpenCVE AI on March 17, 2026 at 16:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade kubectl-mcp-server to the latest release or apply any vendor‑issued patch.
  • If upgrading is not immediately possible, disable or remove the minimal_wrapper.py component to eliminate the vulnerable entry point.
  • Implement strict input validation or sandboxing around the execution of shell commands if the wrapper must remain operational.
  • Enforce least privileged execution for any remaining disabled or unchanged components to mitigate potential exploitation.

Generated by OpenCVE AI on March 17, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 24 Mar 2026 10:45:00 +0000

Type Values Removed Values Added
Title Command Injection in kubectl‑mcp-server Minimal Wrapper Vulnerability

Tue, 17 Mar 2026 14:15:00 +0000

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'}


Tue, 17 Mar 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Rohitg00
Rohitg00 kubectl-mcp-server
Vendors & Products Rohitg00
Rohitg00 kubectl-mcp-server

Mon, 16 Mar 2026 21:00:00 +0000

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

Subscriptions

Rohitg00 Kubectl-mcp-server
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-03-17T14:01:39.958Z

Reserved: 2026-01-09T00:00:00.000Z

Link: CVE-2025-69902

cve-icon Vulnrichment

Updated: 2026-03-17T14:00:36.634Z

cve-icon NVD

Status : Deferred

Published: 2026-03-16T21:16:17.700

Modified: 2026-04-27T19:18:46.690

Link: CVE-2025-69902

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-23T14:00:57Z

Weaknesses