All vulnerabilities

Go

CVE-2026-130007

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

Severity
High
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.1.0
Exploit chance
0.5% in the next 30 daysHigher than 45% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Missing authentication (CWE-306)
Also known as
GHSA-m932-63jc-4jqq
Sources
OSV.dev and GitHub

Description

When k8s-mcp-server runs in its default SSE transport mode, the MCP tools/call endpoint is dispatched with no authentication, session token, or Origin check. Any client that can reach the listening port can enumerate and invoke the server's Kubernetes tools (including destructive/write tools) without credentials, executing with the server's configured cluster privileges.

  • main.go L129: server.NewSSEServer(s) is created with no auth option and no contextFunc; L130 sse.Start(":"+port) binds all interfaces (0.0.0.0).
  • mcp-go sse.go handleSSE (GET /sse): no auth header check; the server mints a sessionId for any caller. The sessionId is a correlation value, not a credential.
  • handleMessage (POST /message): the only gates are method==POST and a loadable sessionId. No Authorization/Bearer/token/Origin/CSRF check before s.server.HandleMessage(ctx, rawMessage) dispatches to the tools/call handler.
  • Only Access-Control-Allow-Origin: * is present (CORS relaxation, not auth).
From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/reza-gholizade/k8s-mcp-serverGo · osv:Go:github.com/reza-gholizade/k8s-mcp-server
  • Every version before 1.1.0

About github.com/reza-gholizade/k8s-mcp-server

This is the only vulnerability in github.com/reza-gholizade/k8s-mcp-server in our list.

References