CVE-2026-59428: Spring Cloud Gateway's WebsocketRoutingFilter accepts WebSocket handshakes without checking the
Source GCVE Database
Not known to be exploited · CVSS 5.9 Medium · fixed in 5.0.5 : update Spring Cloud Gateway when convenient.
Data as of 2 Dec 2026, 10:15 UTC
Thin evidence
One scorer or none| CNA (vmware) | CVSS 3.1 | 5.9 |
|---|
- Patch
- Available – fixed in 5.0.5, 5.0.4.1, 4.3.7 +2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Cloud Gateway | Affected
| Fixed in
|
| SpringSpring Cloud Gateway | Affected
| Fixed in
|
| SpringSpring Cloud Gateway | Affected
| Fixed in
|
| SpringSpring Cloud Gateway | Affected
| Fixed in
|
| SpringSpring Cloud Gateway | Affected
| Fixed in
|
Mavenorg.springframework.cloud/spring-cloud-gatewaypkg:maven/org.springframework.cloud/spring-cloud-gatewayOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Spring Cloud Gateway has been updated to reject cross-origin WebSocket handshakes by default, returning a 403 Forbidden response. Administrators should ensure they are using the updated version that includes this fix. Additionally, the gateway provides configuration properties (spring.cloud.gateway.server.webflux.websocket.allowed-origins and spring.cloud.gateway.server.webflux.websocket.allowed-origin-patterns for recent versions, spring.cloud.gateway.websocket.* for 4.x and 3.1.x lines) to explicitly allow trusted origins. Applications should configure these properties to restrict WebSocket connections to known and trusted origins. No other specific mitigation is indicated.
Description
Spring Cloud Gateway's WebsocketRoutingFilter does not check the Origin header during WebSocket handshakes, allowing cross-origin WebSocket connections by default. This can enable a malicious web page to cause a victim's browser to open a WebSocket connection through the gateway to a backend service, potentially using the victim's credentials such as cookies. The issue affects applications exposing routes with ws or wss URIs through the gateway. The gateway now rejects cross-origin WebSocket handshakes by default and provides configuration properties to allow specific origins.