MODERATE 4.8

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)

ArtifactAffected versionsFixed 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

1affected artifacts
291affected versions
3,120dependent artifacts (est.)
98,484dependent versions

53% of the dependent artifacts (1,667) still pull an affected version in their latest release.

DepthDependent 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

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.