CVE-2026-41838: CWE-330: Use of Insufficiently Random Values in Spring Spring Framework
Spring Framework versions 5.3.0 through 5.3.48, 6.1.0 through 6.1.27, 6.2.0 through 6.2.18, and 7.0.0 through 7.0.7 have a vulnerability where WebSocket session IDs are not cryptographically unpredictable. This weakness could potentially be exploited if combined with inadequate authorization controls. The vulnerability is identified as CWE-330 and has a medium severity with a CVSS score of 4.8.
AI Analysis
Technical Summary
The Spring Framework's spring-websocket module generates WebSocket session IDs that are insufficiently random, making them potentially predictable. This vulnerability (CVE-2026-41838) affects multiple versions of Spring Framework, specifically 5.3.0 to 5.3.48, 6.1.0 to 6.1.27, 6.2.0 to 6.2.18, and 7.0.0 to 7.0.7. Exploitation may be possible when combined with weak authorization rules, potentially allowing an attacker to guess session IDs and hijack WebSocket sessions. No official patch or remediation guidance is currently provided by the vendor, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation could lead to unauthorized access to WebSocket sessions due to predictable session IDs, resulting in confidentiality breaches. The vulnerability does not impact integrity or availability directly. The CVSS vector indicates the attack requires network access, high attack complexity, low privileges, and user interaction, with high confidentiality impact but no integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, review and strengthen authorization rules around WebSocket sessions to mitigate risk. Avoid relying solely on session ID unpredictability for security.
CVE-2026-41838: CWE-330: Use of Insufficiently Random Values in Spring Spring Framework
Description
Spring Framework versions 5.3.0 through 5.3.48, 6.1.0 through 6.1.27, 6.2.0 through 6.2.18, and 7.0.0 through 7.0.7 have a vulnerability where WebSocket session IDs are not cryptographically unpredictable. This weakness could potentially be exploited if combined with inadequate authorization controls. The vulnerability is identified as CWE-330 and has a medium severity with a CVSS score of 4.8.
CVSS v3.1
Score 4.8medium
Affected software
pkg:maven/org.springframework/spring-websocketRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Spring Framework's spring-websocket module generates WebSocket session IDs that are insufficiently random, making them potentially predictable. This vulnerability (CVE-2026-41838) affects multiple versions of Spring Framework, specifically 5.3.0 to 5.3.48, 6.1.0 to 6.1.27, 6.2.0 to 6.2.18, and 7.0.0 to 7.0.7. Exploitation may be possible when combined with weak authorization rules, potentially allowing an attacker to guess session IDs and hijack WebSocket sessions. No official patch or remediation guidance is currently provided by the vendor, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation could lead to unauthorized access to WebSocket sessions due to predictable session IDs, resulting in confidentiality breaches. The vulnerability does not impact integrity or availability directly. The CVSS vector indicates the attack requires network access, high attack complexity, low privileges, and user interaction, with high confidentiality impact but no integrity or availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, review and strengthen authorization rules around WebSocket sessions to mitigate risk. Avoid relying solely on session ID unpredictability for security.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-22T06:22:01.122Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a279b2ee29bf47b50357515
Added to database: 06/09/2026, 04:48:46 UTC
Last enriched: 07/30/2026, 07:13:53 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 71
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.