CVE-2026-41838 MEDIUM

CVE-2026-41838: Spring Framework Predictable Session ID in WebSocket Module

Vendor Spring
Product Spring Framework
Weakness CWE-330 · Insufficient randomness
Published June 9, 2026
Last update June 9, 2026

CVSS base score

4.8/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction Required
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

IDs for WebSocket sessions in the spring-websocket module are not cryptographically unpredictable, which may be possible to exploit in combination with inadequate authorization rules. Affected versions: Spring Framework 7.0.0 through 7.0.7; 6.2.0 through 6.2.18; 6.1.0 through 6.1.27; 5.3.0 through 5.3.48.

Key dates

02Disclosure timeline

June 9, 2026 CVE published
June 9, 2026 Record updated