CVE-2026-41714: Spring AMQP Core - Missing Certificate and Hostname Verification in RabbitConnectionFactoryBean

Summary

10/06/2026
Yes i
Moderate
4.0

CVE-2026-41714: Applications that configure their broker connection via RabbitConnectionFactoryBean.setUri("amqps://...") without also calling setUseSSL(true) get TLS encryption with no certificate validation and no hostname verificatio... 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 systems. It allows developers to build applications that communicate with message brokers like RabbitMQ. The framework simplifies the integration of messaging into Java applications, offering features like message conversion, listener containers, and transaction management. However, certain configurations can lead to vulnerabilities, particularly concerning secure connections.

Vulnerability Detail

The vulnerability arises from the configuration of the RabbitConnectionFactoryBean when using amqps URIs. If developers set the URI without enabling SSL certificate validation (setUseSSL(true)), the application can establish a TLS-encrypted connection without verifying the authenticity of the server's certificate or its hostname. This oversight can expose applications to man-in-the-middle attacks, where an attacker could intercept or alter messages between the application and the broker.

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

As a temporary workaround, if you cannot upgrade to a patched version immediately, ensure that you explicitly set setUseSSL(true) in your RabbitConnectionFactoryBean configuration. This will enable SSL but note that it does not fully mitigate the risk if the underlying library is vulnerable.

Conclusion

CVE-2026-41714 highlights a critical configuration oversight in Spring AMQP that can lead to significant security risks. It is essential for developers to ensure proper SSL configurations to protect their applications from potential attacks. Regular updates and monitoring for vulnerabilities are crucial for maintaining application security.

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

Share this vulnerability

FAQ

CVE-2026-41714 is a vulnerability in Spring AMQP that allows for TLS encryption without certificate validation, potentially exposing applications to man-in-the-middle attacks.

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 to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring access to the code.

The CVSS score for this vulnerability is 4.0, indicating a moderate severity level.

If an immediate upgrade is not possible, ensure that you set setUseSSL(true) in your RabbitConnectionFactoryBean configuration as a temporary workaround.

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