Skip to main content

mcp-server-kubernetes CVE-2026-102735

| EUVDEUVD-2026-139613 HIGH
Origin Validation Error (CWE-346)
2026-11-30 security-advisories@github.com
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Lure victim to attacker webpage
  2. Delivery
    Serve short-TTL DNS, rebind to server HOST:PORT
  3. Exploit
    Browser sends same-origin requests to SSE /messages
  4. Execution
    Invoke kubectl/exec/Helm tools (no auth token)
  5. Impact
    Read Secrets, deploy pods, exec, delete across cluster

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires three specific conditions to coincide: (1) the operator has enabled the opt-in, non-default SSE transport via ENABLE_UNSAFE_SSE_TRANSPORT=1 (the default stdio transport is not affected, and the sibling Streamable HTTP transport already validates Host since commit d08b554); (2) the optional MCP_AUTH_TOKEN is NOT set - when it is set, authMiddleware on GET /sse and POST /messages blocks the attack because the rebinding page cannot supply the token; and (3) the victim opens an attacker-controlled webpage while the server is running and keeps it open long enough for DNS rebinding to complete. Limiting factors beyond raw CVSS: the victim's browser must be able to reach HOST:PORT (the common HOST=localhost/127.0.0.1 dev case, or any reachable address), and Chrome 142+ Local Network Access may present a permission prompt the victim must accept. Separately, if HOST=0.0.0.0 the server is directly reachable by anyone on the network without rebinding, in which case the Host allowlist is irrelevant and MCP_AUTH_TOKEN is the only control.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.5) captures the key tension: although the attack vector is Network with no privileges required, successful exploitation is gated by User Interaction (UI:R, victim must open an attacker page) and High Attack Complexity (AC:H), and the advisory makes clear it is further gated by non-default deployment choices. No EPSS score is provided in the input and the CVE is not on CISA KEV, so there is no signal of widespread or active exploitation; the vuln.today Decision label is 'this_week' (prioritize, not emergency). A detailed, reproducible proof-of-concept is published inside the GHSA-9j3p-gvw3-h8r8 advisory itself, but the input does not mark it as confirmed working exploit code. The realistic risk is therefore conditional rather than universal: the flaw only matters when an operator has explicitly enabled the opt-in SSE transport (ENABLE_UNSAFE_SSE_TRANSPORT=1) AND has not set the optional MCP_AUTH_TOKEN - if the token is set, authMiddleware blocks the attack on both GET /sse and POST /messages. Where those conditions hold the impact is severe (full cluster control via 20+ kubectl/Helm/exec tools), so this is a genuine priority for affected deployments, but it is not a mass-exploitable internet-wide issue. Note a conflict worth verifying with defenders: if HOST=0.0.0.0, the advisory states the server is directly exposed on the network without any DNS rebinding needed, and a Host allowlist does not help - only MCP_AUTH_TOKEN mitigates that case.

Exploit ScenarioDerived

An operator runs mcp-server-kubernetes with the opt-in SSE transport enabled and no MCP_AUTH_TOKEN. The victim, with the server reachable on localhost or a LAN address, opens an attacker-controlled webpage that serves a short-TTL DNS record; after load, the domain is rebound to the server's HOST:PORT so the browser treats fetch/EventSource requests as same-origin and page JavaScript drives the SSE server to invoke privileged kubectl tools. A full proof-of-concept (reproducible against a fake kubeconfig, no real cluster needed) is published in the GHSA advisory; given CVSS AC:H and UI:R, it requires the victim to keep the page open long enough for rebinding and, on Chrome 142+, may require accepting a Local Network Access prompt.

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

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

Alert me

AnalysisAIv1 – Nov 30, 2026

DNS rebinding in mcp-server-kubernetes before 4.0.8 can turn a victim's browser into a proxy to the opt-in SSE transport, allowing a malicious webpage to invoke the server's Kubernetes tools with the process's kubeconfig or service-account privileges. The default stdio transport is not affected; exploitation requires ENABLE_UNSAFE_SSE_TRANSPORT=1, no MCP_AUTH_TOKEN, and a victim who opens and keeps open an attacker-controlled page. The CVSS 7.5 vector is AV:N/AC:H/PR:N/UI:R, reflecting network reachability but high complexity and user interaction; no CISA KEV entry or confirmed active exploitation is indicated, and the advisory documents a public PoC reproduction that is not verified in the supplied data as working exploit code.

RemediationAI

Upgrade mcp-server-kubernetes to version 4.0.8 or later, preferably 4.1.6 for the hardened default Host allowlist. If upgrading is not immediately possible, require MCP_AUTH_TOKEN on both GET /sse and POST /messages because the rebinding page cannot know the token; this requires clients to supply the token and does not restore the missing Host-validation defense in depth. Avoid enabling the SSE transport with ENABLE_UNSAFE_SSE_TRANSPORT=1 and use the default stdio transport where feasible, accepting that remote HTTP clients lose that transport. Do not bind to HOST=0.0.0.0 without a token: the advisory notes that direct network reachability bypasses the need for rebinding, so the Host allowlist is irrelevant and MCP_AUTH_TOKEN is the relevant control. In patched versions, keep DNS_REBINDING_PROTECTION enabled, which is the default, and use DNS_REBINDING_ALLOWED_HOST only for intentional extra hostnames because widening the allowlist expands exposure. Advisory: https://github.com/Flux159/mcp-server-kubernetes/security/advisories/GHSA-9j3p-gvw3-h8r8.

Affected VersionsENISA

mcp-server-kubernetes < 4.0.8

Affected Packages

euvd mcp_server_kubernetes fix: 4.0.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

mcp-server-kubernetes is an npm-distributed Model Context Protocol server that exposes Kubernetes operations such as kubectl_get, kubectl_apply, kubectl_delete, exec_in_pod, Helm operations, node drain, and kubectl_generic. The flaw is CWE-346 Origin Validation Error in the SSE transport, which is built on the @modelcontextprotocol/sdk SSEServerTransport. Before 4.0.8 the server constructed that transport without the options object, so enableDnsRebindingProtection defaulted to false and validateRequestHeaders returned without checking anything. The SDK's SSE start() path for the initial GET /sse handshake never validates headers, and handlePostMessage() for POST /messages only enforces validation when protection was enabled at construction. DNS rebinding abuses browser same-origin decisions based on hostname rather than resolved IP: an attacker-controlled short-TTL domain serves a page, then re-resolves to 127.0.0.1 so same-origin EventSource/fetch requests reach the local MCP server, whose missing Host validation accepts the attacker-controlled Host header. The sibling Streamable HTTP transport has validated Host by default since commit d08b554, but sse.ts was not changed at that time. The 4.0.8 fix passes enableDnsRebindingProtection and an allowedHosts list built from localhost aliases; 4.1.6 further hardens the default Host allowlist. If MCP_AUTH_TOKEN is set, authMiddleware on GET /sse and POST /messages blocks the rebinding page because it cannot supply the token; if HOST=0.0.0.0, the server is directly reachable on the network without rebinding and the Host allowlist is not the relevant control.

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) PRIMARY 7.5 HIGH
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.5 HIGH

Network-reachable but AC:H for the DNS-rebinding timing and non-default conditions, UI:R since the victim must open the page, PR:N only when MCP_AUTH_TOKEN is unset; full cluster tool access gives C:H/I:H/A:H.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 30, 2026 - 19:20 EUVD
CVE Published
Nov 30, 2026 - 18:18 cve.org
HIGH 7.5

DescriptionCVE.org

mcp-server-kubernetes is a Model Context Protocol server for Kubernetes cluster management. Prior to version 4.0.8, the SSE transport of mcp-server-kubernetes does not validate the Host header of incoming requests, which makes it vulnerable to DNS rebinding. This issue has been patched in version 4.0.8.

Technical POC Analysis

CWE-346 (Origin Validation Error).

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

CVE-2026-102735 is a high-severity DNS rebinding vulnerability in mcp-server-kubernetes (versions before 4.0.8) that, under specific opt-in configurations, allows a victim's browser to be used as a proxy to invoke Kubernetes tools with the server's privileges. This affects only environments that have explicitly enabled the unsafe SSE transport without an authentication token and where a user visits a malicious webpage; the default stdio transport is unaffected. Leadership should care because successful exploitation could enable unauthorized Kubernetes actions under service-account or kubeconfig privileges, potentially impacting production workloads if such configurations exist.

Business Impact: High
Compensating Controls

Disable the SSE transport by unsetting ENABLE_UNSAFE_SSE_TRANSPORT, enforce authentication via MCP_AUTH_TOKEN, restrict network access to the SSE endpoint to trusted origins, and implement DNS rebinding protections such as Host header validation and strict CORS policies; additionally, run the server with minimal Kubernetes privileges and monitor for anomalous tool invocations.

Threat Intelligence Overview

EPSS Score
0.3%
Top 71% exploitable
Prevalence
Low
niche MCP npm server; vulnerable SSE transport is opt-in, non-default
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.3%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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