Insecure Randomness Affecting org.springframework.amqp:spring-rabbit package, versions [,3.2.11)[4.0.0-M1,4.0.4)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.17% (7th percentile)

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 Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAMQP-17308629
  • published11 Jun 2026
  • disclosed10 Jun 2026
  • creditUnknown

Introduced: 10 Jun 2026

NewCVE-2026-41701  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade org.springframework.amqp:spring-rabbit to version 3.2.11, 4.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Insecure Randomness via the sendAndReceive function when using a fixed reply queue, due to correlation IDs being generated sequentially by an internal counter. An attacker can intercept or inject unauthorized replies by predicting correlation IDs.

Note:

This is only exploitable if the target is configured with a fixed reply queue (sendAndReceive() with that setup), and the attacker wins a timing race to land the poisoned reply before the legitimate one with a matching tag.

CVSS Base Scores

version 4.0
version 3.1