Open redirect in Spring Framework - CVE-2026-59394

 

Open redirect in Spring Framework - CVE-2026-59394

Published: November 20, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to redirect users to an attacker-chosen location on a different origin.

The vulnerability exists due to insufficient validation of the redirect destination in UrlHandlerFilter when it is configured to remove trailing slashes by redirecting requests. A remote attacker can induce a user to follow a crafted request URL to redirect the user's browser to a different origin.


Affected software

Spring Framework

How to mitigate CVE-2026-59394

Install security update from vendor's website.

Spring Framework - addressed in versions 6.2.21, 7.0.10.1, 7.0.11

External References

Related Security Bulletins