CVE-2026-134817 PUBLISHED

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

Assigner: VulnCheck
Reserved: 22.11.2026 Published: 22.11.2026 Updated: 22.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor Flux159
Product mcp-server-kubernetes
Versions Default: unaffected
  • affected from 0 to 4.2.0 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Improper Neutralization of Argument Delimiters in a Command ('Argument Injection') CWE