Skip to main content
VulnerabilityPublished

CVE-2026-59390: Spring Framework No Origin Validation If WebSocket Handling Configured Directly

Affects Spring FrameworkSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.9 Medium · fixed in 7.0.11 : update Spring Framework when convenient.

Data as of 2 Dec 2026, 08:03 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 7.0.11, 7.0.10.1, 6.2.21 +4
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 FrameworkAffected
  • >=7.0.0 <7.0.11
Fixed in
  • 7.0.11
SpringSpring FrameworkAffected
  • >=7.0.0 <7.0.10.1
Fixed in
  • 7.0.10.1
SpringSpring FrameworkAffected
  • >=6.2.0 <6.2.21
Fixed in
  • 6.2.21
SpringSpring FrameworkAffected
  • >=6.1.0 <6.1.30
Fixed in
  • 6.1.30
SpringSpring FrameworkAffected
  • >=6.0.0 <6.0.33
Fixed in
  • 6.0.33
SpringSpring FrameworkAffected
  • >=5.3.0 <5.3.51
Fixed in
  • 5.3.51

AI-suggested

Apply the official fixes available in Spring Framework versions 7.0.11, 7.0.10.1, 6.2.21, 6.1.30, 6.0.33, 5.3.51, or 5.2.27.RELEASE. Alternatively, ensure that if WebSocketHttpRequestHandler is configured directly, an explicit Origin header validation is implemented to prevent cross-origin WebSocket connections. Applications using WebSocketHandlerRegistry for WebSocket configuration are not affected and require no additional action.

Description

CVE-2026-59390 is a vulnerability in the Spring Framework's WebSocket support where the Origin header is not validated by default if WebSocketHttpRequestHandler is configured directly by the application instead of using WebSocketHandlerRegistry. This can allow cross-site WebSocket hijacking if the application does not implement its own origin check. Applications using the standard WebSocketHandlerRegistry configuration are not affected. The issue affects multiple Spring Framework versions prior to fixed releases.

References

Community reviews

Loading reviews…