News · Flux159 / GitHub Security Advisories · 2 min read
Event date: · Published:
mcp-server-kubernetes npm package patches flaw that exposed host files
GitHub Security Advisories disclosed a high-severity argument-injection vulnerability in the mcp-server-kubernetes npm package that let remote MCP clients read arbitrary files on the host; the fix ships in version 4.2.0.
GitHub Security Advisories disclosed on November 23, 2026 that the mcp-server-kubernetes npm package, maintained by Flux159, contains a high-severity argument-injection vulnerability that lets remote MCP clients read arbitrary files on the server host. The package is used by AI coding and DevOps agents to operate Kubernetes clusters through the Model Context Protocol, and the flaw is detailed in the GitHub Security Advisory GHSA-8v48-c263-r637.
What changed
- The flaw is tracked as CVE-2026-134817 and classified as CWE-88, improper neutralization of argument delimiters in a command.
- GitHub rates it High severity with a CVSS v3.1 score of 7.1 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N).
- Versions before 4.2.0 are affected; the fix ships in version 4.2.0.
- Remote MCP clients connected over SSE or Streamable HTTP transport can pass dash-prefixed values as positional operands to tools including
exec_in_pod,kubectl_patch, andkubectl_logs. - This lets an attacker inject kubectl flags such as
--filenameto read arbitrary files on the host, bypassing the tool's intended file-read restrictions. - The advisory was published November 23, 2026 under GHSA-8v48-c263-r637.
What it means for people who build with AI
Developers who wire AI coding or DevOps agents into Kubernetes clusters through this popular MCP server should treat the flaw as serious: any network-connected MCP client could smuggle extra kubectl flags past the server's checks and pull sensitive files off the host. Because the server is reachable over SSE or Streamable HTTP, exploiting it does not require local access to the cluster, only a connection to the MCP endpoint.
What to do now
Teams running mcp-server-kubernetes should upgrade to version 4.2.0 immediately to close the argument-injection path before any MCP client can exploit it.
Sources
- mcp-server-kubernetes vulnerable to argument injection via positional arguments (GitHub Security Advisories, November 23, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.