CVE-2026-134817
Kubernetes MCP positional arguments could become kubectl flags
Flux 159 · mcp-server-kubernetes · kubectl tool operands
First documented disclosure · Review checkpoint
Summary
A tool argument intended as a resource name could be interpreted as a command-line option.
Severity and exploitation evidence
High · 7.1/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed authority and original sources describe the weakness or controlled checks; malicious exploitation against users is not established.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
Several tools omitted the flag-shaped-operand check. kubectl parses a leading dash as an option even when the wrapper treats the value as positional.
Conditions required
An MCP client can call an affected tool, including through SSE or Streamable HTTP, and the server process can access the target resource or file.
Potential impact
Bypass of file-read restrictions and unintended kubectl behavior within the server and cluster permissions.
Affected versions and configurations
Before 4.2.0; PR 390 covers remaining operands in exec_in_pod, patch, rollout, logs, create, explain, node management and port forwarding.
Fix and mitigation status
4.2.0, released October 26, includes PR 390.
Practical next steps
Upgrade to a release containing PR 390 and retain narrowly scoped filesystem and Kubernetes permissions.
Operating lesson
Validate positional operands against option syntax before invoking command-line tools.
Evidence and limits
Public PR 390 and release 4.2.0 are October 26; authority publication is November 22. An earlier PR 369 fixed other tools, so its presence alone does not fix these remaining operands. Maintainer tests were reviewed as reports, not rerun. VulnCheck assigns CVSS 4.0 7.1.
Sources
- Remaining-operand correction and tool inventory
Primary source ·
- mcp-server-kubernetes 4.2.0 release
Primary source ·
- VulnCheck exact CVE authority record
Primary source ·