GHSA-p8qj-fj6r-w7q9
Spring AMQP Core: Missing Certificate and Hostname Verification for amqps URIs in RabbitConnectionFactoryBean
Quick fix
GHSA-p8qj-fj6r-w7q9 — org.springframework.amqp:spring-amqp: upgrade to the fixed version with the command below.
# pom.xml: bump <version>4.0.4</version> for org.springframework.amqp:spring-amqp Details
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 verification.
Affected versions: Spring AMQP 4.0.0 through 4.0.3; 3.2.0 through 3.2.10; 3.1.0 through 3.1.15; 2.4.0 through 2.4.17.
Are you affected?
Enter the version of the package you're using.
Affected packages
4.0.0 Fixed in: 4.0.4 # pom.xml: bump <version>4.0.4</version> for org.springframework.amqp:spring-amqp 3.2.0 Fixed in: 3.2.11 # pom.xml: bump <version>3.2.11</version> for org.springframework.amqp:spring-amqp 3.1.0 No fixed version published yet for org.springframework.amqp:spring-amqp (maven). Pin to a known-safe version or switch to an alternative.
0 No fixed version published yet for org.springframework.amqp:spring-amqp (maven). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-41714 [ADVISORY]
- https://github.com/spring-projects/spring-amqp [PACKAGE]
- https://github.com/spring-projects/spring-amqp/releases/tag/v3.2.11 [WEB]
- https://github.com/spring-projects/spring-amqp/releases/tag/v4.0.4 [WEB]
- https://spring.io/security/cve-2026-41714 [WEB]