CVE-2026-41838

published 9 Jun 2026 · updated 27 Jun 2026

Spring Framework Predictable Session ID in WebSocket Module

4.8MediumCVSS 4.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.3.49, 6.1.28, 6.2.18.1 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=5.3.0 <5.3.49, >=6.1.0 <6.1.28, >=6.2.0 <6.2.18.1, >=7.0.0 <7.0.7.15.3.49, 6.1.28, 6.2.18.1, 7.0.7.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-41838 severity on Zeptric[![CVE-2026-41838](https://zeptric.io/badge/cve/CVE-2026-41838.svg)](https://zeptric.io/cve/CVE-2026-41838)