Skip to main content
VulnerabilityPublished

CVE-2026-59428: Spring Cloud Gateway WebSocket Routing Filter Does Not Enforce Same-Origin by Default

Affects Spring Cloud GatewaySource CVE Database V5

0
Compare

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, 07:47 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

AI-suggested

Upgrade Spring Cloud Gateway to one of the fixed versions: 3.1.15, 4.2.11, 4.3.7, 5.0.4.1, or 5.0.5. These versions reject cross-origin WebSocket handshakes by default. Additionally, configure the properties spring.cloud.gateway.server.webflux.websocket.allowed-origins or spring.cloud.gateway.server.webflux.websocket.allowed-origin-patterns to specify allowed origins if cross-origin WebSocket connections are required. No other mitigation is needed once upgraded.

Description

Spring Cloud Gateway versions prior to fixed releases do not enforce same-origin policy by default on WebSocket handshake requests. This allows malicious web pages to initiate cross-origin WebSocket connections through the gateway using the victim's browser credentials, such as cookies. The issue affects applications exposing routes with ws or wss URIs. Fixed versions reject cross-origin handshakes by default and provide configuration options to allow specific origins.

References

Community reviews

Loading reviews…