CVE-2026-130007: k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution
k8s-mcp-server manages Kubernetes clusters through the Model Context Protocol. Prior to 1.1.0, SERVERMODE defaults to SSE, with the listener on 0.0.0.0:8080, but main.go creates the SSE server without an authentication option or context function. The GET /sse handler creates a sessionId that is only a correlation value, and the POST /message handler accepts a loadable sessionId without an authorization or Origin check before dispatching tools/call; consequently, any client able to reach the port can enumerate and invoke registered Kubernetes tools without credentials. Read-only mode is disabled by default, leaving write-capable Kubernetes tools available to run with the server's configured cluster privileges. This issue is fixed in version 1.1.0.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
k8s-mcp-serverto a version that resolves this vulnerability.Fixed in 1.1.0
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated access?
Versions prior to 1.1.0 are exposed when using the default SERVER_MODE=SSE configuration. In that mode, the service listens on 0.0.0.0:8080, so any client able to reach that port can access the SSE/HTTP transport without credentials.
What level of access can an attacker obtain?
An attacker who can reach the listener can enumerate and invoke registered Kubernetes tools. Because read-only mode is disabled by default, those tools may perform write operations using the Kubernetes privileges configured for the server.
Does an attacker need a valid session or browser origin to exploit this?
No. The sessionId created by GET /sse is only a correlation value, and POST /message accepts a loadable sessionId without authorization or Origin validation before dispatching tool calls.
What should be done if an immediate upgrade is not possible?
Restrict network access to port 8080 so untrusted clients cannot reach the service. Reducing the Kubernetes privileges configured for the server and enabling read-only operation can also limit the impact of unauthorized tool execution.
How can I determine whether my deployment is affected?
Check whether k8s-mcp-server is running a version earlier than 1.1.0 and using the SSE transport, particularly if it is listening on 0.0.0.0:8080. Affected instances accept unauthenticated requests to the SSE/HTTP endpoints and can dispatch tools/call operations.