CVE-2026-130007

k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution

High published · updated · also known as GHSA-M932-63JC-4JQQ

7.9
CVSS score out of 10 · NVD (github.com)

Description

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
github.com/reza-gholizade/k8s-mcp-server go < 1.1.01.1.0 GitHub

References