AploSec / Disclosures / CVE-2026-134817

High 7.1ReportedFixed in 4.2.0CWE-88npm

mcp-server-kubernetes before 4.2.0 Argument Injection via Flag-Shaped Positional Operands

CVE-2026-134817 · published 2026-11-22

In plain words: this type of bug lets someone run their own commands on the server (command injection). A fixed release is listed.

Summary

CVE-2026-134817 affects mcp-server-kubernetes (npm) < 4.2.0: Argument Injection via Flag-Shaped Positional Operands (CWE-88). Fixed in 4.2.0. CVSS 4.0 base score 7.1 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).

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.

Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

Remediation

Upgrade mcp-server-kubernetes to 4.2.0 or later. Releases in the affected range (< 4.2.0) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-22 CVE published

References

Severity
High 7.1CVSS 4.0, scored by VulnCheck in the CVE record
Package
mcp-server-kubernetes
Ecosystem
npm
Affected
< 4.2.0
Fixed
4.2.0
Weakness
CWE-88
CNA
VulnCheck
Credit
Zachariah Mithani (AploSec)finder