{"vuln_id":"CVE-2026-130007","aliases":["GHSA-m932-63jc-4jqq"],"description":"k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution","published_at":"2026-11-18T17:17:37.917000Z","modified_at":"2026-11-21T05:18:11.190000Z","first_seen_at":"2026-11-21T19:15:19.387120Z","severity":"high","severity_source":"nvd","cvss_score":7.9,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-306"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00533,"epss_percentile":0.45866,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-130007"},"matched_alias":null,"items":[{"id":10972,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-m932-63jc-4jqq: k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution","summary":"k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution\n\n## Summary\nWhen k8s-mcp-server runs in its default SSE transport mode, the MCP `tools/call`\nendpoint is dispatched with no authentication, session token, or Origin check.\nAny client that can reach the listening port can enumerate and invoke the\nserver's Kubernetes tools (including destructive/write tools) without credentials,\nexecuting with the server's configured cluster privileges.\n\n## Affected\nCommit be87a6dd72bb6ec1d4886b8548843b99a4638b12 (Merge PR #130)\nMCP library: github.com/mark3labs/mcp-go v0.57.0\nDefault mode: sse (SERVER_MODE default), default port 8080, bind 0.0.0.0\n\n## Root cause (static trace: handleSSE -> handleMessage -> tools/call)\n- main.go L129: `server.NewSSEServer(s)` is created with no auth option and no\n  contextFunc; L130 `sse.Start(\":\"+port)` binds all interfaces (0.0.0.0).\n- mcp-go sse.go handleSSE (GET /sse): no auth header check; the server mints a\n  sessionId for any caller. The sessionId is a correlation value, not a credential.\n- handleMessage (POST /message): the only gates are method==POST and a loadable\n  sessionId. No Authorization/Bearer/token/Origin/CSRF check before\n  `s.server.HandleMessage(ctx, rawMessage)` dispatches to the tools/call handler.\n- Only `Access-Control-Allow-Origin: *` is present (CORS relaxation, not auth).\nWrite tools (Create/Delete/RolloutRestart, Helm Install/Upgrade/Uninstall/Rollback)\nare all registered unless `-read-only` is set (default readOnly=false).\n\n## Runtime reproduction (no auth headers on any request)\nStarted: `k8s-mcp-server -mode sse -port 8080` with a dummy non-routable\nKUBERNETES_SERVER=https://127.0.0.1:1 (no real cluster touched).\n\n  GET  /sse                         -> HTTP 200; server mints /message?sessionId=93b3...\n  POST /message initialize          -> HTTP 202; result returned over SSE\n  POST /message tools/list          -> HTTP 202; FULL tool list returned (incl. destructive)\n  POST /message tools/call getAPIResources -> HTTP 202; handler EXECUTED:\n        error -32603 \"... Get https://127.0.0.1:1/api...: dial tcp 127.0.0.1:1: connect\"\n\nThe tools/call response is NOT HTTP 401/403 but an in-handler cluster-connection\nerror, proving the RPC passed any authorization gate and reached the\ngetAPIResources handler. With a valid kubeconfig, the same path returns real\ncluster data. `ss -ltnp` confirms LISTEN *:8080 (all interfaces, externally exposed).\n\n## Impact\nAn unauthenticated attacker with network reach to the port can enumerate tools and\ninvoke Kubernetes operations with the server's privileges — cluster read and,\nwith default readOnly=false, state-changing operations (Create/Delete/Helm).\nCWE-306 (Missing Authentication for Critical Function).\n\n## Why this is a defect, not by-design\nDefault mode is HTTP (sse) on 0.0.0.0:8080, containerized deployment is the normal\nscenario, and there is no \"trusted client only\" / auth-required note in the docs.\nMCP HTTP transports are expected to be loopback-only or gated; this one is neither.\n\n## Suggested fix\n- Add an authoriza\n\nAffected: Go:github.com/reza-gholizade/k8s-mcp-server\n\nFixed in: 1.1.0\n\nReferences:\nhttps://github.com/reza-gholizade/k8s-mcp-server/security/advisories/GHSA-m932-63jc-4jqq\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-130007\nhttps://github.com/reza-gholizade/k8s-mcp-server/issues/131\nhttps://github.com/reza-gholizade/k8s-mcp-server/pull/134\nhttps://github.com/reza-gholizade/k8s-mcp-server/commit/817d81005369837e0c034962785851ca4dec9a76\nhttps://github.com/reza-gholizade/k8s-mcp-server\nhttps://github.com/reza-gholizade/k8s-mcp-server/releases/tag/v1.1.0","url":"https://osv.dev/vulnerability/GHSA-m932-63jc-4jqq","published_at":"2026-11-19T22:48:33Z","updated_at":"2026-11-19T23:00:36.633906Z","fetched_at":"2026-11-21T19:15:55.946340Z","severity":"high","cvss_score":7.9,"epss":0.00533,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/reza-gholizade/k8s-mcp-server","vuln_id":"CVE-2026-130007","vuln_ids":["CVE-2026-130007","GHSA-M932-63JC-4JQQ"],"tags":["osv","go","fix-available"],"cluster_id":2173,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10972","html":"https://vulnwatch.ve1ve2.com/item/10972"}},{"id":2371,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-m932-63jc-4jqq / CVE-2026-130007: k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution","summary":"k8s-mcp-server: Missing authentication on default SSE/HTTP transport allows unauthenticated Kubernetes tool execution\n\n## Summary\nWhen k8s-mcp-server runs in its default SSE transport mode, the MCP `tools/call`\nendpoint is dispatched with no authentication, session token, or Origin check.\nAny client that can reach the listening port can enumerate and invoke the\nserver's Kubernetes tools (including destructive/write tools) without credentials,\nexecuting with the server's configured cluster privileges.\n\n## Affected\nCommit be87a6dd72bb6ec1d4886b8548843b99a4638b12 (Merge PR #130)\nMCP library: github.com/mark3labs/mcp-go v0.57.0\nDefault mode: sse (SERVER_MODE default), default port 8080, bind 0.0.0.0\n\n## Root cause (static trace: handleSSE -> handleMessage -> tools/call)\n- main.go L129: `server.NewSSEServer(s)` is created with no auth option and no\n  contextFunc; L130 `sse.Start(\":\"+port)` binds all interfaces (0.0.0.0).\n- mcp-go sse.go handleSSE (GET /sse): no auth header check; the server mints a\n  sessionId for any caller. The sessionId is a correlation value, not a credential.\n- handleMessage (POST /message): the only gates are method==POST and a loadable\n  sessionId. No Authorization/Bearer/token/Origin/CSRF check before\n  `s.server.HandleMessage(ctx, rawMessage)` dispatches to the tools/call handler.\n- Only `Access-Control-Allow-Origin: *` is present (CORS relaxation, not auth).\nWrite tools (Create/Delete/RolloutRestart, Helm Install/Upgrade/Uninstall/Rollback)\nare all registered unless `-read-only` is set (default readOnly=false).\n\n## Runtime reproduction (no auth headers on any request)\nStarted: `k8s-mcp-server -mode sse -port 8080` with a dummy non-routable\nKUBERNETES_SERVER=https://127.0.0.1:1 (no real cluster touched).\n\n  GET  /sse                         -> HTTP 200; server mints /message?sessionId=93b3...\n  POST /message initialize          -> HTTP 202; result returned over SSE\n  POST /message tools/list          -> HTTP 202; FULL tool list returned (incl. destructive)\n  POST /message tools/call getAPIResources -> HTTP 202; handler EXECUTED:\n        error -32603 \"... Get https://127.0.0.1:1/api...: dial tcp 127.0.0.1:1: connect\"\n\nThe tools/call response is NOT HTTP 401/403 but an in-handler cluster-connection\nerror, proving the RPC passed any authorization gate and reached the\ngetAPIResources handler. With a valid kubeconfig, the same path returns real\ncluster data. `ss -ltnp` confirms LISTEN *:8080 (all interfaces, externally exposed).\n\n## Impact\nAn unauthenticated attacker with network reach to the port can enumerate tools and\ninvoke Kubernetes operations with the server's privileges — cluster read and,\nwith default readOnly=false, state-changing operations (Create/Delete/Helm).\nCWE-306 (Missing Authentication for Critical Function).\n\n## Why this is a defect, not by-design\nDefault mode is HTTP (sse) on 0.0.0.0:8080, containerized deployment is the normal\nscenario, and there is no \"trusted client only\" / auth-required note in the docs.\nMCP HTTP transports are expected to be loopback-only or gated; this one is neither.\n\n## Suggested fix\n- Add an authoriza\n\nAffected packages: go:github.com/reza-gholizade/k8s-mcp-server\nPatched: github.com/reza-gholizade/k8s-mcp-server 1.1.0","url":"https://github.com/advisories/GHSA-m932-63jc-4jqq","published_at":"2026-11-19T22:48:33Z","updated_at":"2026-11-19T22:48:33Z","fetched_at":"2026-11-21T19:15:18.416786Z","severity":"high","cvss_score":7.9,"epss":0.00533,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/reza-gholizade/k8s-mcp-server","vuln_id":"CVE-2026-130007","vuln_ids":["CVE-2026-130007","GHSA-M932-63JC-4JQQ"],"tags":["ghsa","go","CWE-306"],"cluster_id":2173,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2371","html":"https://vulnwatch.ve1ve2.com/item/2371"}},{"id":8034,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-130007: 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,…","summary":"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.\n\nReferences:\nhttps://github.com/reza-gholizade/k8s-mcp-server/commit/817d81005369837e0c034962785851ca4dec9a76\nhttps://github.com/reza-gholizade/k8s-mcp-server/issues/131\nhttps://github.com/reza-gholizade/k8s-mcp-server/pull/134\nhttps://github.com/reza-gholizade/k8s-mcp-server/releases/tag/v1.1.0\nhttps://github.com/reza-gholizade/k8s-mcp-server/security/advisories/GHSA-m932-63jc-4jqq","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-130007","published_at":"2026-11-18T17:17:37.917000Z","updated_at":"2026-11-21T05:18:11.190000Z","fetched_at":"2026-11-21T19:15:31.483854Z","severity":"high","cvss_score":7.9,"epss":0.00533,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-130007","vuln_ids":["CVE-2026-130007","GHSA-M932-63JC-4JQQ"],"tags":["CWE-306"],"cluster_id":2174,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8034","html":"https://vulnwatch.ve1ve2.com/item/8034"}}]}