mcp-server-kubernetes before 4.2.0 contains an argument injection vulnerability that allows remote MCP clients to…
7.1CVSS
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.
- Affected
- mcp-server-kubernetes 0 to before 4.2.0
- Fixed in
- 4.2.0
- CISA KEV
- no
- First seen
- 2026-11-23
- Categories
- Cloud and containers, All
- Sources
- NVD