CVE-2026-41838: CWE-330: Use of Insufficiently Random Values in Spring Spring Framework
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.
AI Analysis
Technical Summary
The vulnerability CVE-2026-41838 in the Spring Framework spring-websocket module arises from the use of session IDs that lack cryptographic unpredictability. This insufficient randomness (CWE-330) in WebSocket session identifiers may allow attackers to predict or guess valid session IDs, potentially bypassing authorization if other security controls are weak. The affected versions span multiple major releases of the Spring Framework. The CVSS v3.1 base score is 4.8 (medium), reflecting network attack vector, high attack complexity, low privileges required, and user interaction needed, with impact limited to confidentiality. No patch or official remediation level has been disclosed by the vendor as of the published date.
Potential Impact
The vulnerability could allow an attacker to predict WebSocket session IDs due to insufficient randomness, which may lead to unauthorized access to WebSocket sessions if combined with inadequate authorization rules. The impact is limited to confidentiality compromise without integrity or availability effects. There are no known active exploits in the wild, and the attack complexity is high, requiring user interaction and low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should review and strengthen authorization controls around WebSocket sessions to mitigate potential exploitation. Monitoring vendor communications for updates is recommended.
CVE-2026-41838: CWE-330: Use of Insufficiently Random Values in Spring Spring Framework
Description
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.
CVSS v3.1
Score 4.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-41838 in the Spring Framework spring-websocket module arises from the use of session IDs that lack cryptographic unpredictability. This insufficient randomness (CWE-330) in WebSocket session identifiers may allow attackers to predict or guess valid session IDs, potentially bypassing authorization if other security controls are weak. The affected versions span multiple major releases of the Spring Framework. The CVSS v3.1 base score is 4.8 (medium), reflecting network attack vector, high attack complexity, low privileges required, and user interaction needed, with impact limited to confidentiality. No patch or official remediation level has been disclosed by the vendor as of the published date.
Potential Impact
The vulnerability could allow an attacker to predict WebSocket session IDs due to insufficient randomness, which may lead to unauthorized access to WebSocket sessions if combined with inadequate authorization rules. The impact is limited to confidentiality compromise without integrity or availability effects. There are no known active exploits in the wild, and the attack complexity is high, requiring user interaction and low privileges.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should review and strengthen authorization controls around WebSocket sessions to mitigate potential exploitation. Monitoring vendor communications for updates is recommended.
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: 6/9/2026, 4:48:46 AM
Last enriched: 6/9/2026, 5:20:46 AM
Last updated: 6/9/2026, 12:59:02 PM
Views: 5
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.