mcp-server-kubernetes flaw CVE-2026-102735 lets a web page reach your cluster: update to 4.0.8 or later
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.
The short version
- 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.
- GitHub rates it high (7.5). Neither the advisory nor NVD reports it being used in attacks.
- From
- Flux159
- Released
- July 23, 2026
- Products
- mcp-server-kubernetes
- Flaws fixed
- 1
- Already being exploited
- None known
- Record ID
- XC-FIX-000003
If you use mcp-server-kubernetes with its SSE transport turned on, update it to version 4.0.8 or later. Before 4.0.8, that transport doesn't check the Host header of incoming requests, so a malicious web page you visit can use a trick called DNS rebinding to reach the server through your own browser. From there it could use any tool the server offers, with the same Kubernetes rights as your kubeconfig.
The flaw is tracked as CVE-2026-102735. The project published its advisory on September 29, 2026, and the CVE record reached NVD on November 30, 2026.

What is mcp-server-kubernetes?
It's an open-source Model Context Protocol (MCP) server. MCP is the standard way AI assistants such as Claude, ChatGPT and code editors connect to outside tools. This one lets an assistant run Kubernetes and Helm commands for you: list pods, read secrets, delete things, run commands inside containers or install Helm charts. It's published on npm as mcp-server-kubernetes.
Most households won't have it. It matters to developers and small offices that run their own Kubernetes clusters and let an AI assistant help manage them.
Am I affected by CVE-2026-102735?
You're affected only if both of these are true, according to the project's advisory:
| Check | Affected | Not affected |
|---|---|---|
| Version | Below 4.0.8 | 4.0.8 or later |
| Transport | SSE, turned on with ENABLE_UNSAFE_SSE_TRANSPORT=1 | The default stdio transport |
To check, open the MCP settings in your AI app or editor and look at how mcp-server-kubernetes is started. If you don't see ENABLE_UNSAFE_SSE_TRANSPORT anywhere (in the command, its environment settings, or your Docker or Helm setup), you're using stdio and this flaw doesn't apply. If you pinned a version number there, that's the version you're running.
How does the attack work?
The SSE server listens on a port on your computer. Normally a web page can't talk to it, because browsers keep sites apart. In DNS rebinding, a malicious site makes its own web address point to your computer after the page has loaded, so the browser lets it send requests to the server. The server should notice the wrong Host header and refuse, but before 4.0.8 it didn't check.
The advisory says the attack is blocked when MCP_AUTH_TOKEN is set, because every request then has to carry that secret.
What to do now
- Update mcp-server-kubernetes to 4.0.8 or later. The latest release is 4.2.3, from November 13, 2026. The advisory says 4.1.6 also tightens the default list of allowed hosts.
- If you don't need SSE, switch back to the default stdio transport. The project's own documentation marks SSE as deprecated in favor of Streamable HTTP.
- If you do use an HTTP transport (SSE or Streamable HTTP), set
MCP_AUTH_TOKEN. The server then refuses requests without a matchingX-MCP-AUTHheader. - Don't set
HOST=0.0.0.0unless you mean to. The advisory warns that it opens the server to everyone on your network, where a token is the only real protection. - Give the kubeconfig the server uses only the rights the assistant needs. Whatever that account can do, an attacker who gets in can do too.
What isn't known yet
Neither the advisory nor NVD reports this flaw being used in real attacks, and CISA hasn't flagged it as exploited. NVD hasn't scored it yet. The 7.5 (high) rating comes from GitHub, which issued the CVE. The advisory credits a researcher who goes by m3ltd-wn.
This is one of several security fixes the project has shipped this year, including ones for file reads and command flag injection. If you run it, keep it on the latest version rather than pinning an old one.
For more on what AI assistants can reach once you connect them to your tools, see our AI security section and our guide to whether ChatGPT is safe.
Sources
Drafted with AI assistance from public sources, then checked and approved by Thomas Whitmore, Head of Threat Intelligence & Security Research on . See how we work, or tell us about a mistake at support@xcelcor.com.
More on AI security Small business