CVE-2026-41838
Description
Spring Framework's WebSocket session IDs are predictable, potentially allowing attackers to hijack sessions when combined with weak authorization.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Spring Framework's WebSocket session IDs are predictable, potentially allowing attackers to hijack sessions when combined with weak authorization.
Vulnerability
IDs for WebSocket sessions in the spring-websocket module are not cryptographically unpredictable. This vulnerability affects Spring Framework versions 7.0.0 through 7.0.7, 6.2.0 through 6.2.18, 6.1.0 through 6.1.27, and 5.3.0 through 5.3.48. [1]
Exploitation
An attacker with low privileges and network access could exploit this vulnerability by guessing predictable WebSocket session IDs. This exploit requires user interaction and is possible in combination with inadequate authorization rules. [1]
Impact
Successful exploitation could lead to a high impact on confidentiality, allowing an attacker to potentially hijack WebSocket sessions and gain unauthorized access to sensitive information or functionality. [1]
Mitigation
Users of affected versions should upgrade to the corresponding fixed versions: 7.0.8, 6.2.19, 6.1.28, or 5.3.49. No further mitigation steps are necessary. [1]
AI Insight generated on Jun 9, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1- Range: 7.0.0 - 7.0.7, 6.2.0 - 6.2.18, 6.1.0 - 6.1.27, 5.3.0 - 5.3.48
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
1News mentions
0No linked articles in our index yet.