Missing Origin Validation in WebSockets in Spring Cloud Gateway - CVE-2026-59428

 

Missing Origin Validation in WebSockets in Spring Cloud Gateway - CVE-2026-59428

Published: November 20, 2026


Vulnerability identifier: #VU168646
CSH Severity: Medium
CVSS v4: 5.7 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59428
CWE-ID: CWE-1385
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to potentially read sensitive data and perform limited unauthorized actions on a backend service by using credentials automatically attached by a victim's browser.

The vulnerability exists due to missing origin validation in WebsocketRoutingFilter when processing WebSocket handshakes. A remote attacker can induce a victim's browser to establish a cross-origin WebSocket connection through the gateway to access backend data or perform actions permitted by any automatically attached credentials.


Affected software

Spring Cloud Gateway

How to mitigate CVE-2026-59428

Install security update from vendor's website.

Spring Cloud Gateway - addressed in versions 3.1.15, 4.2.11, 4.3.7, 5.0.4.1, 5.0.5

External References

Related Security Bulletins