Origin Validation Error Affecting org.springframework.cloud:spring-cloud-gateway-server-webflux package, versions [,5.0.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-22732855
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-59428  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-gateway-server-webflux to version 5.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Origin Validation Error in the WebsocketRoutingFilter class, which accepts WebSocket handshakes without checking the Origin header. Because browsers do not apply the same-origin policy to WebSocket handshakes and only send the Origin header, a malicious page can drive a victim's browser to open a WebSocket connection through the gateway to a backend service using the cookies the browser attaches automatically. This affects applications only if they expose a route with a ws or wss URI through the gateway.

CVSS Base Scores

version 4.0
version 3.1