MODERATE

CVE-2026-59391

Spring Framework Message Smuggling with External STOMP Broker

Description

Spring Framework's STOMP broker relay can allow an authenticated user to bypass message authorization rules when an external STOMP broker is used.

An application is affected if it uses the STOMP broker relay with an external broker and relies on Spring Security message authorization to restrict access to destinations. In that case, a specially crafted sequence of STOMP frames can cause the broker to process commands that the application's authorization rules would otherwise deny, potentially allowing a user to send or receive messages on restricted destinations.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework » spring-messaging
<= 5.2.26.RELEASE>= 5.3.0, <= 5.3.50>= 6.0.0, <= 6.0.32>= 6.1.0, <= 6.1.29>= 6.2.0, <= 6.2.20>= 7.0.0, < 7.0.11
7.0.11

Blast radius

1affected artifacts
321affected versions
12,293dependent artifacts (est.)
591,733dependent versions

82% of the dependent artifacts (10,103) still pull an affected version in their latest release.

DepthDependent versions
Direct
127,429
2 hops
80,756
3 hops
159,258
4 hops
146,642
5 hops
56,372
6 hops
21,276

Most used dependents

Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.