CVE-2026-134817
Received Received - Intake

Kubectl Flag Injection in mcp-server-kubernetes

Vulnerability report for CVE-2026-134817, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-22

Last updated on: 2026-11-22

Assigner: VulnCheck

Description

mcp-server-kubernetes before 4.2.0 contains an argument injection vulnerability that allows remote MCP clients to inject kubectl flags by supplying dash-prefixed values as positional operands in tools such as exec_in_pod, kubectl_patch, and kubectl_logs. Attackers connected over SSE or Streamable HTTP transport can supply values like --filename to make kubectl read files from the server host, bypassing file-read restrictions.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-22
Last Modified
2026-11-22
Generated
2026-11-23
AI Q&A
2026-11-23
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Flux159 mcp-server-kubernetes From 0 (inc) to 4.2.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-88 The product constructs a string for a command to be executed by a separate component in another control sphere, but it does not properly delimit the intended arguments, options, or switches within that command string.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

mcp-server-kubernetes before 4.2.0 has an argument injection flaw where remote MCP clients can inject kubectl flags by providing dash-prefixed values as positional operands in tools like exec_in_pod, kubectl_patch, and kubectl_logs. Attackers using SSE or Streamable HTTP transport can supply values such as --filename to force kubectl to read files from the server host, bypassing intended file-read restrictions.

Detection Guidance

To detect this vulnerability, monitor network traffic for MCP clients sending dash-prefixed arguments like --filename to tools such as exec_in_pod, kubectl_patch, or kubectl_logs. Check server logs for unexpected kubectl command executions or file access attempts from MCP clients.

Impact Analysis

This vulnerability allows attackers to read sensitive files on the server host by injecting kubectl flags. If you use mcp-server-kubernetes before 4.2.0, unauthorized users connected via SSE or Streamable HTTP could access restricted files, potentially exposing confidential data or system configurations.

Compliance Impact

This vulnerability could lead to unauthorized file access, violating data protection requirements under GDPR and HIPAA. Exposure of sensitive data may result in non-compliance, legal penalties, and reputational damage due to compromised confidentiality of personal or health information.

Mitigation Strategies

Upgrade mcp-server-kubernetes to version 4.2.0 or later to address the argument injection flaw. Restrict network access to MCP servers, especially over SSE or Streamable HTTP transport. Review and audit MCP client configurations to prevent unauthorized flag injection.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134817. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...