CVE-2026-41838 json
Spring Framework Predictable Session ID in WebSocket Module
published 2026-06-09 5 mo ago modified 2026-07-29 3 mo ago also GHSA-q723-847q-5g8g , EUVD-2026-35325
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.springframework:spring-websocket 6.2.19, 7.0.8
- Spring Spring Framework 5.3.49, 6.1.28, 6.2.18.1, 7.0.7.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.springframework:spring-websocket | >=7.0.0, <7.0.8 >=6.2.0, <6.2.19 >=6.1.0, <=6.1.27 <=5.3.48 |
7.0.8 6.2.19 |
Affected products
- Spring Spring Framework
Classification
- Weakness
-
- CWE-330 Use of Insufficiently Random Values
- Technology feeds
References
-
github.com
/spring-projects/spring-framework/commit/a42a6e0c6ac64eb18954729ca5e3fe64b05a39b5
web
-
github.com
/spring-projects/spring-framework/commit/bff98999056fc29b573ff47ad2433462eb52833c
web
-
spring.io
/security/cve-2026-41838
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-41838
advisory
-
github.com
/spring-projects/spring-framework/issues/36740
web
-
github.com
/spring-projects/spring-framework
package
-
github.com
/spring-projects/spring-framework/releases/tag/v6.2.19
web
-
github.com
/spring-projects/spring-framework/releases/tag/v7.0.8
web
Sources
- CVE List CVE-2026-41838
- GitHub Advisory GHSA-q723-847q-5g8g
- NVD CVE-2026-41838
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.