CVE-2026-41838Published Jun 9, 2026 · Jun 9Updated Nov 10
Spring Framework Predictable Session ID in WebSocket Module
Spring Framework
Medium4.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-websocket Maven |
|
|
Spring Framework
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework:spring-websocket Maven |
|
|
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.
From the CVE record · vmware
The spring-websocket module generates WebSocket session IDs that are not cryptographically unpredictable. An attacker may be able to exploit predictable IDs when authorization rules are inadequate; the input does not specify authentication or user-interaction requirements.
Check Spring Framework deployments using spring-websocket versions 7.0.0–7.0.7, 6.2.0–6.2.18, 6.1.0–6.1.27, or 5.3.0–5.3.48.