CVE-2026-59428
Received
Received - Intake
Cross-Origin WebSocket Handshake in Spring Cloud Gateway
Vulnerability report for CVE-2026-59428, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-12-02
Last updated on: 2026-12-02
Assigner: VMware
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vmware | spring_cloud_gateway | From 3.1.0 (inc) to 4.0.0 (inc) |
| vmware | spring_cloud_gateway | to 5.0.4 (inc) |
| vmware | spring_cloud_gateway | to 4.3.6 (inc) |
| vmware | spring_cloud_gateway | to 4.2.10 (inc) |
| vmware | spring_cloud_gateway | to 3.1.14 (inc) |
| vmware | spring_cloud_gateway | 5.0.5 |
| vmware | spring_cloud_gateway | 5.0.4.1 |
| vmware | spring_cloud_gateway | 4.3.7 |
| vmware | spring_cloud_gateway | 4.2.11 |
| vmware | spring_cloud_gateway | 3.1.15 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |