Skip to main content

k8s-mcp-server CVE-2026-130007

| EUVDEUVD-2026-129038 HIGH
Missing Authentication for Critical Function (CWE-306)
2026-11-18 GitHub_M GHSA-m932-63jc-4jqq
7.9
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed SSE port 8080 on 0.0.0.0
  2. Delivery
    GET /sse to mint sessionId
  3. Exploit
    POST /message tools/list to enumerate tools
  4. Execution
    POST /message tools/call write operation
  5. Impact
    Execute Kubernetes actions with cluster privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the server to run in an HTTP transport mode (SSE or streamable-http). In affected versions (<= 1.0.25) this is the default: SERVER_MODE defaults to SSE, binding 0.0.0.0:8080, with no MCP_AUTH_TOKEN requirement. The attacker needs only network reachability to that port - no credentials, token, or Origin check is enforced. Full cluster read/write impact additionally requires read-only mode to be disabled, which is the default (readOnly=false), leaving write-capable tools (Create/Delete, Helm Install/Upgrade/Uninstall/Rollback) registered. Limiting factors: deployments running STDIO transport, binding only to loopback, sitting behind an authenticating reverse proxy, running with --read-only, or restricting the server's Kubernetes RBAC are correspondingly less exposed. Version 1.1.0 is fail-closed unless MCP_AUTH_TOKEN is set and defaults to stdio with loopback binding.

Impact

This is a genuine high-priority issue, not a CVSS-inflated paper risk. All exploitability signals align toward easy abuse: the CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N - remote, low-complexity, no attack requirements, no privileges, no user interaction - and the GHSA advisory confirms a working runtime reproduction (GET /sse mints a sessionId, POST /message dispatches tools/call) with no authentication. The authentication bypass is unauthenticated per PR:N, and the session ID is explicitly a correlation value, not a credential. The vuln.today decision label is 'this_week' rather than act_now/emergency, consistent with the absence of CISA KEV listing. Note the signals that temper urgency: the CVSS 4.0 score of 7.9 (not critical) stems from modeling impact entirely on the subsequent Kubernetes cluster (SC:H/SI:H/SA:H) while the MCP server itself shows VC:N/VI:N/VA:N; a scope-change CVSS 3.1 reading would rate this near-maximal. No EPSS score is provided and there is no KEV listing, so there is no evidence of widespread automated exploitation yet - but exploitation is trivial for anyone with network reach. Real impact is bounded by the RBAC privileges granted to the server's kubeconfig and whether write-capable tools are enabled (default readOnly=false leaves them available).

Exploit ScenarioDerived

An attacker who can reach the server's default SSE listener on 0.0.0.0:8080 (e.g. an exposed container port or a reachable internal host) opens GET /sse to obtain a sessionId, then POSTs tools/list and tools/call to /message with no Authorization, token, or Origin header. Because read-only mode is off by default, the attacker invokes write-capable tools (Create/Delete, Helm Install/Uninstall) that execute against the cluster with the server's configured privileges. The GHSA advisory documents a confirmed runtime reproduction against the shipped binary; PoC scripts were offered by the reporter but are not published.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Unauthenticated Kubernetes tool execution in k8s-mcp-server 1.0.25 and earlier: the server's default transport is SSE bound to 0.0.0.0:8080, and the MCP HTTP server is created with no authentication option or context function, so any client that can reach the port can enumerate and invoke every registered Kubernetes tool without credentials. Because read-only mode is disabled by default, the exposed tool set includes write-capable operations (Create/Delete/RolloutRestart plus Helm install, upgrade, uninstall and rollback) that execute with the server's own cluster privileges, giving both cluster read and state-changing impact; the advisory reports a full runtime reproduction (the tools/call request returns an in-handler cluster-connection error rather than 401/403, proving it passed the authorization gate), while no packaged, verified working exploit code is publicly confirmed. Exposure is materially reduced for deployments using stdio transport, loopback-only binding, an authenticating reverse proxy, --read-only, or tightly scoped RBAC. Fixed in 1.1.0, which defaults to stdio, binds HTTP modes to 127.0.0.1 and fails closed unless MCP_AUTH_TOKEN is set.

RemediationAI

Vendor-released patch: upgrade to k8s-mcp-server 1.1.0 (release v1.1.0, fix PR #134, commit 817d81005369837e0c034962785851ca4dec9a76, per advisory GHSA-m932-63jc-4jqq). After upgrading, HTTP transports are fail-closed: SSE and streamable-http require MCP_AUTH_TOKEN to be set and every request must carry Authorization: Bearer <token>, HTTP modes bind to 127.0.0.1 by default, and SERVER_HOST=0.0.0.0 (or --host 0.0.0.0) is an explicit opt-in - the trade-off is that containerized deployments relying on the old exposure must now supply the env var and the host setting or the server will not be reachable, and the docker-compose file enforces MCP_AUTH_TOKEN with a required-variable check. Browser-based clients additionally need MCP_ALLOWED_ORIGINS to be set, otherwise their Origin header is rejected with 403. While upgrading, run with --read-only where possible and scope the server's Kubernetes RBAC identity to only the permissions it needs, which limits blast radius but does not fix the missing authentication. If an upgrade cannot be applied immediately, the only reliable compensating control is to stop exposing the HTTP listener: bind to loopback, keep the port off untrusted networks, or place the service behind an authenticating reverse proxy with TLS - accepting that any client still able to reach the port retains full unauthenticated tool invocation. Health checks should be moved to the unauthenticated /healthz endpoint that 1.1.0 provides, since the old root-path probe effectively encouraged keeping the MCP surface reachable.

Affected VersionsENISA

k8s-mcp-server < 1.1.0

Affected Packages

go github.com/reza-gholizade/k8s-mcp-server fix: 1.1.0
euvd k8s_mcp_server fix: 1.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-306 (Missing Authentication for Critical Function) in Go code built on the mark3labs/mcp-go v0.57.0 SSE transport. In main.go the SSE server is constructed with server.NewSSEServer(s) with no auth option and no context function, then started against ":"+port, which binds all interfaces. In the library, GET /sse performs no authorization check and simply mints a sessionId for any caller; that sessionId is a routing/correlation identifier, not a credential. POST /message then accepts any loadable sessionId and dispatches the raw JSON-RPC message to HandleMessage - including tools/call - with the only apparent HTTP-level concession being an Access-Control-Allow-Origin: * header, which is CORS relaxation rather than authentication and is why a browser Origin check is also part of the fix. Tool registration is gated solely by the -read-only flag, which defaults to false, so destructive Kubernetes verbs and Helm lifecycle operations are registered and reachable. The 1.1.0 fix (PR #134, commit 817d81005369837e0c034962785851ca4dec9a76) wraps every MCP HTTP endpoint in a secureMCPHandler that enforces an Authorization: Bearer token compared in constant time (crypto/subtle), returns 401 with WWW-Authenticate on mismatch, validates the Origin header against an explicit MCP_ALLOWED_ORIGINS allowlist, sets SERVER_MODE default to stdio, and requires explicit SERVER_HOST=0.0.0.0 opt-in for external binding. The advisory also drops the root-path HTTP health check in favor of an unauthenticated /healthz endpoint.

Know when Kubernetes gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.9 HIGH
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
vuln.today AI 10.0 CRITICAL

Remote, low-complexity, unauthenticated by default (a session ID is not a credential), no user interaction; scope changes because the compromised MCP server grants full read/write control of the subsequent Kubernetes cluster.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 18:03 EUVD
CVE Published
Nov 18, 2026 - 16:38 cve.org
HIGH 7.9

DescriptionCVE.org

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.

Technical POC Analysis

CWE-306 (Missing Authentication for Critical Function).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

The k8s-mcp-server tool, versions 1.0.25 and earlier, exposes unauthenticated Kubernetes cluster control to any network-adjacent attacker, allowing full read and write operations that could lead to data theft, service disruption, or complete cluster compromise. Leadership should care because this affects the integrity and availability of critical containerized workloads and could result in significant operational and reputational damage.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include: restrict network access to the service port (e.g., via firewall, security groups, or network policies) to trusted IP ranges; use stdio transport instead of SSE; bind the service to loopback (127.0.0.1) only; deploy an authenticating reverse proxy; enable read-only mode if available; and monitor for anomalous tool execution.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Low
niche single-maintainer open-source Kubernetes MCP server, limited production footprint
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-1974 CRITICAL POC
9.8 Mar 25

A critical vulnerability in Kubernetes ingress-nginx controller allows unauthenticated attackers with pod network access

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2025-1098 HIGH POC
8.8 Mar 25

Kubernetes ingress-nginx contains a configuration injection vulnerability via the mirror-target and mirror-host Ingress

CVE-2025-24514 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-url` Ingres

CVE-2025-1097 HIGH POC
8.8 Mar 25

A security issue was discovered in ingress-nginx https://github.com/kubernetes/ingress-nginx where the `auth-tls-match-c

CVE-2020-8554 MEDIUM POC
6.3 Jan 21

Kubernetes API server in all versions allow an attacker who is able to create a ClusterIP service and set the spec.exter

CVE-2023-3676 HIGH POC
8.8 Oct 31

A security issue was discovered in Kubernetes where a user that can create pods on Windows nodes may be able to escalate

CVE-2025-55190 CRITICAL POC
9.9 Sep 04

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Rated critical severity (CVSS 9.9), this vulne

CVE-2026-34976 CRITICAL POC
10.0 Apr 02

Unauthenticated remote attackers can trigger complete database overwrites, server-side file reads, and SSRF attacks agai

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-54680 CRITICAL POC
9.9 Jul 29

Fluentd configuration injection in the kube-logging Logging operator before 6.6.0 allows a namespace-scoped user who can

CVE-2025-64709 CRITICAL POC
9.9 Nov 13

Authenticated Typebot users can abuse the webhook block (HTTP Request component) in versions prior to 3.13.1 to issue ar

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy