Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Network-reachable WebSocket with no auth or UI, but exploitation requires predicting a session ID and a misconfigured authorization layer, so AC:H; only confidentiality is impacted.
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Lifecycle Timeline
10Blast Radius
ecosystem impact- 1 maven packages depend on org.springframework:spring-websocket (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 7.0.0.
DescriptionNVD
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.
AnalysisAI
Predictable WebSocket session IDs in Spring Framework's spring-websocket module allow remote attackers to guess or forge session identifiers and, when paired with weak authorization rules, hijack or interact with other users' WebSocket sessions. The flaw affects Spring Framework 5.3.x, 6.1.x, 6.2.x, and 7.0.x prior to patched releases; no public exploit identified at time of analysis and EPSS is very low (0.03%).
Technical ContextAI
The spring-websocket module provides WebSocket and STOMP messaging support on top of Spring's web stack, assigning a session ID to each established WebSocket connection for routing messages and tracking subscriptions. The root cause is CWE-330 (Use of Insufficiently Random Values): session identifiers are generated without a cryptographically secure pseudo-random number generator, so an attacker who observes or brute-forces the value space can predict valid session IDs. Per the affected CPE (cpe:2.3:a:spring:spring_framework), any Java application embedding spring-websocket on the vulnerable versions inherits the weakness, and exploitation impact depends on how the application's authorization rules validate session-bound state.
RemediationAI
Vendor-released patch: upgrade Spring Framework to 5.3.49, 6.1.28, 6.2.19, or 7.0.8 depending on the branch in use, as documented at https://spring.io/security/cve-2026-41838. Where an immediate upgrade is not possible, harden the consuming application's authorization layer so WebSocket message handling does not trust the session ID alone - re-validate the authenticated principal on every inbound STOMP/WebSocket message via Spring Security's AuthorizationManager or channel interceptors, and bind sensitive subscriptions to the user principal rather than the session ID (trade-off: requires code changes and may add per-message overhead). For lower-trust deployments, terminating WebSocket connections behind a gateway that enforces auth on every frame, or disabling WebSocket endpoints that are not strictly required, reduces exposure at the cost of feature loss.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-330 – Use of Insufficiently Random Values
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-35325
GHSA-q723-847q-5g8g