Vulnerability · Published Jun 9, 2026 · Assigned by vmware
CVE-2026-41838Spring Framework Predictable Session ID in WebSocket Module
Medium 4.8
In plain English
A medium-severity weak randomness in Spring Framework from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libspring-java | no fix listed | DEBIAN-CVE-2026-41838 |
| Debian:13 | libspring-java | no fix listed | DEBIAN-CVE-2026-41838 |
| Debian:14 | libspring-java | no fix listed | DEBIAN-CVE-2026-41838 |
| Maven | org.springframework:spring-websocket | no fix listed | GHSA-q723-847q-5g8g |
| Maven | org.springframework:spring-websocket | 7.0.8 | GHSA-q723-847q-5g8g |
| Maven | org.springframework:spring-websocket | 6.2.19 | GHSA-q723-847q-5g8g |
| Maven | org.springframework:spring-websocket | no fix listed | GHSA-q723-847q-5g8g |
| Ubuntu:25.10 | libspring-java | no fix listed | UBUNTU-CVE-2026-41838 |
| Ubuntu:26.04:LTS | libspring-java | no fix listed | UBUNTU-CVE-2026-41838 |
| Ubuntu:26.10 | libspring-java | no fix listed | UBUNTU-CVE-2026-41838 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Framework | 7.0.0 – before 7.0.7.16.2.0 – before 6.2.18.16.1.0 – before 6.1.285.3.0 – before 5.3.49 |
Weakness: CWE-330 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N