Improper Enforcement of Message Integrity During Transmission in a Communication Channel Affecting org.springframework:spring-messaging package, versions [,7.0.11)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORK-22729302
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditRajat Raghav

Introduced: 19 Nov 2026

NewCVE-2026-59391  (opens in a new tab)
CWE-924  (opens in a new tab)

How to fix?

Upgrade org.springframework:spring-messaging to version 7.0.11 or higher.

Overview

org.springframework:spring-messaging is a framework and inversion of control container for the Java platform.

Affected versions of this package are vulnerable to Improper Enforcement of Message Integrity During Transmission in a Communication Channel in the StompEncoder class, which forwards a client-supplied content-length header to an external broker for commands that do not require it instead of always deriving it from the payload. An authenticated user can smuggle a second STOMP frame past Spring Security message authorization by sending a frame whose content-length causes the external broker to re-delimit the body and parse an additional command. This applies to applications using the STOMP broker relay with an external broker and relying on Spring Security message authorization to restrict destinations.

CVSS Base Scores

version 4.0
version 3.1