CVE-2026-102735: mcp-server-kubernetes's SSE transport did not check the Host header, leaving it open to DNS rebinding from a malicious website (fixed 4.0.8)
Before 4.0.8, the SSE transport of Flux159's mcp-server-kubernetes did not validate the Host header of incoming requests, making it vulnerable to DNS rebinding: a website the user visits could reach the locally running MCP server and its Kubernetes cluster tools through the browser. Fixed in 4.0.8.
What it is
mcp-server-kubernetes exposes Kubernetes cluster management tools to MCP clients. With the SSE transport it runs an HTTP server.
That server accepted requests with any Host header. DNS rebinding lets a malicious web page make the browser send requests to a local service under an attacker-controlled hostname, which a Host check would reject.
NVD rates it CVSS 3.1 7.5 (network, high complexity, user interaction required, high confidentiality/integrity/availability impact). Affected: versions before 4.0.8; CVE published 30 November 2026.
How to check
- Run npm ls mcp-server-kubernetes (or check your npx pin) and confirm 4.0.8 or later; later releases also fix CVE-2026-134817.
- Check whether you run it with the SSE transport.
How to fix
- Upgrade mcp-server-kubernetes to 4.0.8 or later (4.2.0+ also covers the later flag-injection issue).
- Prefer the stdio transport for local use.
npm ls -g mcp-server-kubernetes; npm view mcp-server-kubernetes version