A flaw in mcp-server-kubernetes, an MCP server that lets AI assistants run Kubernetes commands, is fixed in 4.0.8. Only setups using its SSE transport are affected.
- mcp-server-kubernetes versions before 4.0.8 don't check the Host header on their SSE transport, so a malicious web page can reach the server through DNS rebinding.
- Only setups that turn on SSE with ENABLE_UNSAFE_SSE_TRANSPORT=1 are affected. The default stdio setup is not.
- Update to 4.0.8 or later (4.2.3 is the latest), and set MCP_AUTH_TOKEN if you use an HTTP transport.

















