Home › CVE › Cloud & containers
CVE-2026-59428 — Spring Cloud Gateway
One of 4 Spring Cloud Gateway vulnerabilities published together by NVD: our article covers all of them.
Cloud & containersBrowsersVulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.9
An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, low on integrity, none on availability
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Spring Cloud Gateway | ≥ 5.0.0, < 5.0.4.1 | 5.0.4.1 |
| ≥ 4.3.0, < 4.3.7 | 4.3.7 | |
| ≥ 4.2.0, < 4.2.11 | 4.2.11 | |
| ≥ 3.1.0, < 3.1.15 | 3.1.15 | |
| ≥ 5.0.0, < 5.0.5 | 5.0.5 |
References by type
Other references
Affected
- Spring Cloud Gateway
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-59428?
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.
How severe is CVE-2026-59428?
CVE-2026-59428 has a CVSS 3.1 base score of 5.9 (medium), from the CNA (vmware.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-59428 being exploited?
Not as far as is known: CVE-2026-59428 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-59428?
Spring Cloud Gateway ≥ 5.0.0, < 5.0.4.1 (fixed in 5.0.4.1); Spring Cloud Gateway ≥ 4.3.0, < 4.3.7 (fixed in 4.3.7); Spring Cloud Gateway ≥ 4.2.0, < 4.2.11 (fixed in 4.2.11); Spring Cloud Gateway ≥ 3.1.0, < 3.1.15 (fixed in 3.1.15); and more, listed on this page.
How do I fix CVE-2026-59428?
Update to a fixed release: Spring Cloud Gateway 5.0.4.1; Spring Cloud Gateway 4.3.7; Spring Cloud Gateway 4.2.11.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-47810 — VMware SALT
- Eclipse Theia SSRF in backend request-service RPC exposes internal responses to remote clients (CVE-2026-10055)
- CVE-2026-139903 — AdventDevInc Kudu
- Amazon Kiro Web: OS command injection (CVE-2026-136267) via crafted content echoed by AI agent models
- Adobe Experience Manager XSS Vulnerability Enables Stored Script Injection