EnvMap GitHub

CVE-2026-59428

Spring Cloud Gateway WebSocket Routing Filter Does Not Enforce Same-Origin by Default

EPSS 0.38%Awaiting Analysis

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.

In the words of the organisation that published it (vmware).

Severity

  • 5.9 Medium · CVSS 3.1 from security@vmware.com · CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:N

Affected

  • Spring Cloud Gateway: from 5.0.0 before 5.0.4.1; from 4.3.0 before 4.3.7; from 4.2.0 before 4.2.11; from 3.1.0 before 3.1.15

as the publisher (vmware) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.38% chance of exploitation in the next 30 days, higher than 34% of all CVEs (as of 4 December 2026).

References

Record

Published08:17 UTC, 2 December 2026
Last changed19:26 UTC, 2 December 2026
NVD statusAwaiting Analysis
Published byvmware

CVE-2026-59428 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.