Skip to main content

Spring Cloud Gateway EUVDEUVD-2026-140910

| CVE-2026-59428 MEDIUM
2026-12-02 vmware
5.9
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Lure victim to malicious page
  2. Delivery
    Browser opens WebSocket to gateway
  3. Exploit
    Handshake accepted without Origin check
  4. Execution
    Victim cookies auto-attached to connection
  5. Persist
    Interact with backend as victim
  6. Impact
    Exfiltrate credentialed backend data

Vulnerability Assessment

Exploitation Conditions

Exploitable ONLY if the application exposes a route with a ws or wss URI through the gateway - gateways without WebSocket routes are not affected. The attack additionally requires: (1) a victim with an active, credentialed session to the backend so the browser auto-attaches cookies; (2) victim user interaction, i.e. visiting an attacker-controlled web page (UI:R); and (3) a pre-patch/default configuration, since fixed versions reject cross-origin handshakes with 403 by default. These factors - exposed WebSocket route, authenticated victim session, and required user interaction - are the real limiters on exploitation despite the network, unauthenticated vector; they justify the High attack complexity.

Impact

This is a Cross-Site WebSocket Hijacking (CSWSH) flaw in Spring Cloud Gateway's WebsocketRoutingFilter, rated moderate (CVSS 5.9, CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N). The signals are internally consistent and point to a real-but-conditional issue rather than a drop-everything emergency. The vector is network and unauthenticated (PR:N), which raises reach, but exploitation depends on victim user interaction (UI:R) and on the specific precondition that the gateway exposes a ws/wss route - reflected in the high attack complexity (AC:H). No EPSS score, no CISA KEV listing, and no confirmed working exploit code were provided; the HeroDevs reference is a third-party advisory, not a published PoC, so there is no evidence of active exploitation. The vendor-assigned priority is 'this_month' (not act_now/emergency), aligning with the patch-available status and the conditional nature of the flaw. Net: prioritize patching for any deployment that actually proxies WebSocket routes, but treat it as scheduled remediation rather than an active-exploitation fire drill. Note one tension to verify: confidentiality is rated High (C:H) because an attacker can ride the victim's auto-attached credentials to read backend responses, yet integrity is only Low and availability None - the real impact scales with what the exposed backend WebSocket endpoint does.

Exploit ScenarioDerived

An attacker lures an authenticated user of a Spring Cloud Gateway-fronted application to a malicious web page; that page's JavaScript opens a WebSocket to the gateway, and because the Origin header is not validated the handshake is accepted with the victim's cookies automatically attached. The attacker's page can then interact with the backend WebSocket service as the victim, reading responses that use the victim's session. No public exploit code was identified at time of analysis, and success requires the victim to be logged in and to visit the attacker-controlled page.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Cross-Site WebSocket Hijacking (CSWSH) in Spring Cloud Gateway lets a malicious web page cause a victim's browser to open a WebSocket connection through the gateway to a backend service using automatically attached credentials such as cookies, but only where the application exposes a ws or wss route. Affected lines are 3.1.x before 3.1.15, 4.2.x before 4.2.11, 4.3.x before 4.3.7, and 5.0.x before 5.0.5, with EUVD additionally listing 5.0.x before 5.0.4.1. Vendor patches are available and fixed versions reject cross-origin handshakes with 403 by default; no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to 3.1.15, 4.2.11, 4.3.7, or 5.0.5; EUVD also lists 5.0.4.1 as a fixed 5.0 branch version. Fixed versions reject cross-origin WebSocket handshakes with 403 Forbidden by default. If legitimate cross-origin WebSocket clients must be supported after upgrading, configure allowed origins narrowly using spring.cloud.gateway.server.webflux.websocket.allowed-origins or spring.cloud.gateway.server.webflux.websocket.allowed-origin-patterns; on the 4.x and 3.1.x lines use spring.cloud.gateway.websocket.*. If immediate upgrade is not possible, eliminate the affected configuration by removing or disabling ws/wss routes until patched. Vendor advisory: https://spring.io/security/cve-2026-59428.

Affected VersionsENISA

Spring cloud Gateway 3.1.0 <3.1.15
Spring cloud Gateway 4.2.0 <4.2.11
Spring cloud Gateway 4.3.0 <4.3.7
Spring cloud Gateway 5.0.0 <5.0.5
Spring cloud Gateway 5.0.0 <5.0.4.1

Affected Packages

euvd spring_cloud_gateway fix: 3.1.15, 4.2.11, 4.3.7, 5.0.4.1, 5.0.5

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

Spring Cloud Gateway's WebsocketRoutingFilter handles WebSocket upgrade requests for routes with ws or wss URIs. WebSocket handshakes are not governed by the browser same-origin policy or CORS; the browser sends an Origin header and relies on the server to accept or reject the handshake. The filter did not validate Origin by default, so a malicious page could initiate a cross-origin WebSocket through the gateway to a backend and rely on the browser to attach cookies for that backend, enabling CSWSH-style access to data available over the WebSocket. No CWE identifier is supplied; the root-cause class is missing Origin validation for WebSocket handshakes. The CVSS vector AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N reflects network reachability without prior authentication but high complexity and required user interaction, consistent with needing a victim with an active credentialed session to visit an attacker page and an exposed ws/wss route. Fixed releases reject cross-origin handshakes with 403 Forbidden by default and add allowed-origins/allowed-origin-patterns properties. CPE data identifies the affected product as cpe:2.3:a:spring:spring_cloud_gateway:*:*:*:*:*:*:*:*.

Know when Spring Cloud Gateway 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 (vmware) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N
vuln.today AI 5.9 MEDIUM

Network and unauthenticated (AV:N/PR:N), but AC:H and UI:R reflect the needed ws/wss route, an authenticated victim session, and a victim visiting a malicious page; C:H from credentialed data read, I:L, A:N.

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

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

2
Patch available
Dec 02, 2026 - 08:01 EUVD
CVE Published
Dec 02, 2026 - 07:12 cve.org
MEDIUM 5.9

DescriptionCVE.org

Spring Cloud Gateway's WebsocketRoutingFilter accepts WebSocket handshakes without checking the Origin header. Browsers do not apply the same-origin policy or CORS to WebSocket handshakes. They only send the Origin header and rely on the server to accept or reject the request. Because the gateway does not reject cross-origin handshakes by default, a malicious web page can cause a victim's browser to open a WebSocket connection through the gateway to a backend service, using any credentials the browser attaches automatically, such as cookies.

Applications are affected only if they expose a route with a ws or wss URI through the gateway. Spring Cloud Gateway now rejects cross-origin WebSocket handshakes by default with a 403 Forbidden response, and provides the spring.cloud.gateway.server.webflux.websocket.allowed-origins and spring.cloud.gateway.server.webflux.websocket.allowed-origin-patterns properties ( spring.cloud.gateway.websocket.* for the 4.x and 3.1.x lines) to allow specific origins.

Threat Intelligence Overview

Prevalence
High
widely deployed enterprise Spring microservices API gateway
Data Quality
3 sources
Confidence: Low

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 MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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.

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