CVE-2026-41838
Spring Framework Predictable Session ID in WebSocket Module
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-websocket | <= 5.3.48>= 6.1.0, <= 6.1.27>= 6.2.0, < 6.2.19>= 7.0.0, < 7.0.8 | 6.2.19, 7.0.8 |
Blast radius
53% of the dependent artifacts (1,667) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 28,654 |
| 2 hops | 41,205 |
| 3 hops | 14,752 |
| 4 hops | 9,725 |
| 5 hops | 3,240 |
| 6 hops | 908 |
Most used dependents
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- com.vaadin » vaadin-core640 usages
- com.vaadin » vaadin-maven-plugin600 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.springframework.boot » spring-boot-websocket428 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- com.vaadin » vaadin378 usages
- org.apereo.cas » cas-server-core-api-test-category335 usages
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-web-api288 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-configuration264 usages
- org.apereo.cas » cas-server-core-services-api243 usages
- org.apereo.cas » cas-server-core-authentication232 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-41838
- Webhttps://github.com/spring-projects/spring-framework/issues/36740
- Webhttps://github.com/spring-projects/spring-framework/commit/a42a6e0c6ac64eb18954729ca5e3fe64b05a39b5
- Webhttps://github.com/spring-projects/spring-framework/commit/bff98999056fc29b573ff47ad2433462eb52833c
- Packagehttps://github.com/spring-projects/spring-framework
- Webhttps://github.com/spring-projects/spring-framework/releases/tag/v6.2.19
- Webhttps://github.com/spring-projects/spring-framework/releases/tag/v7.0.8
- Webhttps://spring.io/security/cve-2026-41838
