Skip to main content
VulnerabilityPublished

CVE-2026-59428: Spring Cloud Gateway's WebsocketRoutingFilter accepts WebSocket handshakes without checking the

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-59428· Medium 5.9

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, 10:15 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.15.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
SpringSpring Cloud GatewayAffected
  • >=5.0.0 <5.0.5
Fixed in
  • 5.0.5
SpringSpring Cloud GatewayAffected
  • >=5.0.0 <5.0.4.1
Fixed in
  • 5.0.4.1
SpringSpring Cloud GatewayAffected
  • >=4.3.0 <4.3.7
Fixed in
  • 4.3.7
SpringSpring Cloud GatewayAffected
  • >=4.2.0 <4.2.11
Fixed in
  • 4.2.11
SpringSpring Cloud GatewayAffected
  • >=3.1.0 <3.1.15
Fixed in
  • 3.1.15
Mavenorg.springframework.cloud/spring-cloud-gatewaypkg:maven/org.springframework.cloud/spring-cloud-gatewayOther threatsAffected
  • >=3.1.0 <3.1.15
  • >=4.2.0 <4.2.11
  • >=4.3.0 <4.3.7
  • >=5.0.0 <5.0.4.1
  • >=5.0.0 <5.0.5
Fixed in
  • 3.1.15
  • 4.2.11
  • 4.3.7
  • 5.0.4.1
  • 5.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Spring Cloud Gateway has been updated to reject cross-origin WebSocket handshakes by default, returning a 403 Forbidden response. Administrators should ensure they are using the updated version that includes this fix. Additionally, the gateway provides configuration properties (spring.cloud.gateway.server.webflux.websocket.allowed-origins and spring.cloud.gateway.server.webflux.websocket.allowed-origin-patterns for recent versions, spring.cloud.gateway.websocket.* for 4.x and 3.1.x lines) to explicitly allow trusted origins. Applications should configure these properties to restrict WebSocket connections to known and trusted origins. No other specific mitigation is indicated.

Description

Spring Cloud Gateway's WebsocketRoutingFilter does not check the Origin header during WebSocket handshakes, allowing cross-origin WebSocket connections by default. This can enable a malicious web page to cause a victim's browser to open a WebSocket connection through the gateway to a backend service, potentially using the victim's credentials such as cookies. The issue affects applications exposing routes with ws or wss URIs through the gateway. The gateway now rejects cross-origin WebSocket handshakes by default and provides configuration properties to allow specific origins.

References

Community reviews

Loading reviews…