Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Cloud & containers

CVE-2026-59428 — Spring Cloud Gateway

Medium · CVSS 5.9EPSS 0.4% First seen December 02, 2026

One of 4 Spring Cloud Gateway vulnerabilities published together by NVD: our article covers all of them.

Cloud & containersBrowsersVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.9 CVSS 3.1 base score 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.

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

Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected and fixed versions

ProductAffected versionsFixed in
Spring Cloud Gateway≥ 5.0.0, < 5.0.4.15.0.4.1
≥ 4.3.0, < 4.3.74.3.7
≥ 4.2.0, < 4.2.114.2.11
≥ 3.1.0, < 3.1.153.1.15
≥ 5.0.0, < 5.0.55.0.5

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Other references

Details from NVD (public domain).

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