Skip to main content

Spring Framework CVE-2026-41838

| EUVDEUVD-2026-35325 HIGH
Use of Insufficiently Random Values (CWE-330)
2026-06-09 vmware GHSA-q723-847q-5g8g
7.5
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI
5.9 MEDIUM

Network-reachable WebSocket with no auth or UI, but exploitation requires predicting a session ID and a misconfigured authorization layer, so AC:H; only confidentiality is impacted.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

10
Analysis Updated
Jun 11, 2026 - 17:13 vuln.today
v3 (cvss_changed)
Analysis Updated
Jun 11, 2026 - 17:12 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 11, 2026 - 17:07 vuln.today
cvss_changed
Severity Changed
Jun 11, 2026 - 17:07 NVD
MEDIUM HIGH
CVSS changed
Jun 11, 2026 - 17:07 NVD
4.8 (MEDIUM) 7.5 (HIGH)
Re-analysis Queued
Jun 11, 2026 - 17:07 vuln.today
cvss_changed
Severity Changed
Jun 11, 2026 - 17:07 NVD
MEDIUM HIGH
CVSS changed
Jun 11, 2026 - 17:07 NVD
4.8 (MEDIUM) 7.5 (HIGH)
Patch available
Jun 09, 2026 - 06:01 EUVD
Analysis Generated
Jun 09, 2026 - 05:27 vuln.today

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 1 maven packages depend on org.springframework:spring-websocket (1 direct, 0 indirect)

Ecosystem-wide dependent count for version 7.0.0.

DescriptionNVD

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.

AnalysisAI

Predictable WebSocket session IDs in Spring Framework's spring-websocket module allow remote attackers to guess or forge session identifiers and, when paired with weak authorization rules, hijack or interact with other users' WebSocket sessions. The flaw affects Spring Framework 5.3.x, 6.1.x, 6.2.x, and 7.0.x prior to patched releases; no public exploit identified at time of analysis and EPSS is very low (0.03%).

Technical ContextAI

The spring-websocket module provides WebSocket and STOMP messaging support on top of Spring's web stack, assigning a session ID to each established WebSocket connection for routing messages and tracking subscriptions. The root cause is CWE-330 (Use of Insufficiently Random Values): session identifiers are generated without a cryptographically secure pseudo-random number generator, so an attacker who observes or brute-forces the value space can predict valid session IDs. Per the affected CPE (cpe:2.3:a:spring:spring_framework), any Java application embedding spring-websocket on the vulnerable versions inherits the weakness, and exploitation impact depends on how the application's authorization rules validate session-bound state.

RemediationAI

Vendor-released patch: upgrade Spring Framework to 5.3.49, 6.1.28, 6.2.19, or 7.0.8 depending on the branch in use, as documented at https://spring.io/security/cve-2026-41838. Where an immediate upgrade is not possible, harden the consuming application's authorization layer so WebSocket message handling does not trust the session ID alone - re-validate the authenticated principal on every inbound STOMP/WebSocket message via Spring Security's AuthorizationManager or channel interceptors, and bind sensitive subscriptions to the user principal rather than the session ID (trade-off: requires code changes and may add per-message overhead). For lower-trust deployments, terminating WebSocket connections behind a gateway that enforces auth on every frame, or disabling WebSocket endpoints that are not strictly required, reduces exposure at the cost of feature loss.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Share

CVE-2026-41838 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy