CVE-2026-130007
k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution
Impact
k8s-mcp-server manages Kubernetes clusters through the Model Context Protocol. Prior to 1.1.0, SERVER_MODE 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.
An attacker can exploit this over the network, without logging in, without any action by a user.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/reza-gholizade/k8s-mcp-server | < 1.1.0 | 1.1.0 |
Affected products · Reza-gholizade
| Product | Affected versions |
|---|---|
| K8s-mcp-server | before 1.1.0 Version < 1.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/reza-gholizade/k8s-mcp-server/security/advisories/GHSA-m932-63jc-4jqq
- https://github.com/reza-gholizade/k8s-mcp-server/issues/131
- https://github.com/reza-gholizade/k8s-mcp-server/pull/134
- https://github.com/reza-gholizade/k8s-mcp-server/commit/817d81005369837e0c034962785851ca4dec9a76
- https://github.com/reza-gholizade/k8s-mcp-server/releases/tag/v1.1.0
- https://github.com/advisories/GHSA-m932-63jc-4jqq
- https://nvd.nist.gov/vuln/detail/CVE-2026-130007