CVE-2026-59390 — Spring Framework
One of 13 Spring Framework vulnerabilities published together by NVD: our article covers all of them.
JavaWebVulnerabilitiesSummary
Spring Framework's WebSocket support does not validate the Origin header by default if WebSocketHttpRequestHandler is configured directly by the application, rather than through the WebSocket config via WebSocketHandlerRegistry . An application is affected if it configures WebSocket handling this way without adding an origin check. In that case, a page served from a different origin can open a WebSocket connection resulting in cross-site WebSocket hijacking. Applications that use the WebSocket config via WebSocketHandlerRegistry are not affected.
Severity breakdown
Medium · 5.9
An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on confidentiality, low on integrity, none on availability
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Spring Framework | ≥ 7.0.0, < 7.0.10.1 | 7.0.10.1 |
| ≥ 6.2.0, < 6.2.21 | 6.2.21 | |
| ≥ 6.1.0, < 6.1.30 | 6.1.30 | |
| ≥ 6.0.0, < 6.0.33 | 6.0.33 | |
| ≥ 5.3.0, < 5.3.51 | 5.3.51 | |
| < 5.2.27.RELEASE | 5.2.27.RELEASE | |
| ≥ 7.0.0, < 7.0.11 | 7.0.11 |
References by type
Other references
Affected
- Spring Framework
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-59390?
Spring Framework's WebSocket support does not validate the Origin header by default if WebSocketHttpRequestHandler is configured directly by the application, rather than through the WebSocket config via WebSocketHandlerRegistry . An application is affected if it configures WebSocket handling this way without adding an origin check.
How severe is CVE-2026-59390?
CVE-2026-59390 has a CVSS 3.1 base score of 5.9 (medium), from the CNA (vmware.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-59390 being exploited?
Not as far as is known: CVE-2026-59390 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-59390?
Spring Framework ≥ 7.0.0, < 7.0.10.1 (fixed in 7.0.10.1); Spring Framework ≥ 6.2.0, < 6.2.21 (fixed in 6.2.21); Spring Framework ≥ 6.1.0, < 6.1.30 (fixed in 6.1.30); Spring Framework ≥ 6.0.0, < 6.0.33 (fixed in 6.0.33); and more, listed on this page.
How do I fix CVE-2026-59390?
Update to a fixed release: Spring Framework 7.0.10.1; Spring Framework 6.2.21; Spring Framework 6.1.30.