StraitOfVuln
Latest / CVE-2026-59428

CVE-2026-59428

MediumCVSS 5.9 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-59428
Published / updated
02 Dec 2026, 08:17 UTC · last modified 02 Dec 2026, 19:26 UTC
Severity
MEDIUM
CVSS score
5.9 · v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N · Attack vector: Network
Affected vendor
Spring
Affected products
Spring Cloud Gateway
Affected versions
Spring Cloud Gateway: 5.0.0 to before 5.0.4.1, 4.3.0 to before 4.3.7, 4.2.0 to before 4.2.11, 3.1.0 to before 3.1.15, 5.0.0 to before 5.0.5
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Spring Cloud Gateway 5.0.4.1, Spring Cloud Gateway 4.3.7, Spring Cloud Gateway 4.2.11, Spring Cloud Gateway 3.1.15, Spring Cloud Gateway 5.0.5
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.38% probability of exploitation in the next 30 days · 34% percentile (03 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
security@vmware.com