CVE-2026-59428: Spring Cloud Gateway WebSocket Routing Filter Does Not Enforce Same-Origin by Default
Affects Spring Cloud GatewaySource CVE Database V5
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, 07:47 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
|
AI-suggested
Upgrade Spring Cloud Gateway to one of the fixed versions: 3.1.15, 4.2.11, 4.3.7, 5.0.4.1, or 5.0.5. These versions reject cross-origin WebSocket handshakes by default. Additionally, configure the properties spring.cloud.gateway.server.webflux.websocket.allowed-origins or spring.cloud.gateway.server.webflux.websocket.allowed-origin-patterns to specify allowed origins if cross-origin WebSocket connections are required. No other mitigation is needed once upgraded.
Description
Spring Cloud Gateway versions prior to fixed releases do not enforce same-origin policy by default on WebSocket handshake requests. This allows malicious web pages to initiate cross-origin WebSocket connections through the gateway using the victim's browser credentials, such as cookies. The issue affects applications exposing routes with ws or wss URIs. Fixed versions reject cross-origin handshakes by default and provide configuration options to allow specific origins.