Insecure Randomness The advisory has been revoked - it doesn't affect any version of package org.springframework.amqp:spring-rabbit  (opens in a new tab)


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

CVE-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.

Amendment

This was deemed not a vulnerability.

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.