CVE-2026-41701: Spring AMQP Predictable Correlation IDs in RabbitTemplate.sendAndReceive()

Summary

10/06/2026
Yes i
Moderate
4.4

CVE-2026-41701: Spring AMQP Has Predictable Correlation IDs in RabbitTemplate.sendAndReceive() with Fixed Reply Queue. Affects org.springframework.amqp:spring-amqp across 4 version ranges.

< 2.4.17 >= 3.1.0, <= 3.1.15 >= 3.2.0, < 3.2.11 >= 4.0.0, < 4.0.4

Fixed in 2.4.17, 3.2.11 or 4.0.4, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Spring AMQP is a framework that provides support for AMQP-based messaging solutions, allowing developers to easily integrate messaging capabilities into their applications. It is widely used for building applications that require reliable messaging and asynchronous processing. The framework includes features such as message conversion, error handling, and transaction management. However, certain versions of Spring AMQP are vulnerable to a flaw that makes correlation IDs predictable, which can lead to security issues in message handling.

Vulnerability Detail

The vulnerability arises from the use of a simple internal counter to generate correlation IDs for replies in the RabbitTemplate.sendAndReceive() method when using a fixed reply queue. This predictability allows an attacker to potentially guess the correlation IDs, leading to unauthorized access to message replies. The affected versions include Spring AMQP 4.0.0 through 4.0.3, 3.2.0 through 3.2.10, 3.1.0 through 3.1.15, and 2.4.0 through 2.4.17. The ramifications of this vulnerability can include data leakage and unauthorized message manipulation, posing a moderate security risk.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.17 2.4.17
  • >= 3.2.0, < 3.2.11 3.2.11
  • >= 4.0.0, < 4.0.4 4.0.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing a custom correlation ID generation strategy to mitigate the risk. This could involve using a UUID or a secure random number generator instead of relying on the internal counter.

Conclusion

The vulnerability CVE-2026-41701 in Spring AMQP poses a moderate security risk due to predictable correlation IDs in message replies. It is crucial to update to a patched version to mitigate this risk. Utilizing tools like Vulert can help monitor and identify vulnerabilities in your applications effectively.

See every vulnerability recorded for org.springframework.amqp:spring-amqp →

Share this vulnerability

FAQ

CVE-2026-41701 is a vulnerability in Spring AMQP that allows for predictable correlation IDs in message replies, potentially leading to unauthorized access.

Affected versions include Spring AMQP 4.0.0 through 4.0.3, 3.2.0 through 3.2.10, 3.1.0 through 3.1.15, and 2.4.0 through 2.4.17.

You can use Vulert, which monitors and alerts for open-source vulnerabilities using just your pom.xml file. Visit Vulert Scanner to check your application without signup.

The CVSS score of this vulnerability is 4.4, indicating a moderate severity level.

If an immediate upgrade is not possible, consider implementing a custom correlation ID generation strategy to reduce the risk.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.amqp:spring-amqp.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.17 2.4.17
  • >= 3.2.0, < 3.2.11 3.2.11
  • >= 4.0.0, < 4.0.4 4.0.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback