# CVE-2026-41838: Spring Framework Predictable Session ID in WebSocket Module

- Severity: Medium 4.8 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-06-09T03:49:15.933Z
- Modified: 2026-07-29T18:26:45.363Z
- Also known as: GHSA-q723-847q-5g8g
- Weaknesses: CWE-330
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Spring Framework: from 7.0.0 before 7.0.7.1; from 6.2.0 before 6.2.18.1; from 6.1.0 before 6.1.28; from 5.3.0 before 5.3.49
- org.springframework:spring-websocket (Maven): from 7.0.0 before 7.0.8; from 6.2.0 before 6.2.19; from 6.1.0 up to 6.1.27; up to 5.3.48
- vmware spring_framework: from 5.3.0 before 5.3.49; from 6.1.0 before 6.1.28; from 6.2.0 before 6.2.18.1; from 7.0.0 before 7.0.7.1

## Every score

- vmware: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://spring.io/security/cve-2026-41838> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41838> (advisory)
- <https://github.com/spring-projects/spring-framework/issues/36740> (web)
- <https://github.com/spring-projects/spring-framework/commit/a42a6e0c6ac64eb18954729ca5e3fe64b05a39b5> (web)
- <https://github.com/spring-projects/spring-framework/commit/bff98999056fc29b573ff47ad2433462eb52833c> (web)
- <https://github.com/spring-projects/spring-framework> (package)
- <https://github.com/spring-projects/spring-framework/releases/tag/v6.2.19> (web)
- <https://github.com/spring-projects/spring-framework/releases/tag/v7.0.8> (web)

## Sources

- CVE List: [CVE-2026-41838](https://www.cve.org/CVERecord?id=CVE-2026-41838), CVE Terms of Use, modified 2026-06-27
- GitHub Advisory Database: [GHSA-q723-847q-5g8g](https://github.com/advisories/GHSA-q723-847q-5g8g), CC-BY-4.0, modified 2026-07-29
- NVD: [CVE-2026-41838](https://nvd.nist.gov/vuln/detail/CVE-2026-41838), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-41838 · Whole record: https://cve.day/CVE-2026-41838.json · Rebuilt by cve.day 2026-11-25T22:59:24.062Z
