Authentication Bypass in k8s-mcp-server Affects Kubernetes Management
CVE-2026-130007
What is CVE-2026-130007?
The k8s-mcp-server, responsible for managing Kubernetes clusters through the Model Context Protocol, has a significant vulnerability prior to version 1.1.0. The server's default configuration in SERVER_MODE exposes sensitive tools and commands without adequate authentication. With the listener set to 0.0.0.0:8080, an attacker can leverage the GET /sse handler to initiate unauthorized sessions by merely utilizing a sessionId, which lacks proper validation. Additionally, unauthorized users can send POST requests to the /message handler, potentially executing registered Kubernetes tools with the server's privileges, thus posing a severe risk. This vulnerability compromises both the integrity and confidentiality of Kubernetes clusters if left unaddressed.
Affected Version(s)
k8s-mcp-server < 1.1.0
