ADVISORIES

GitHub Advisory Database

GHSA-p8qj-fj6r-w7q9

Spring AMQP Core: Missing Certificate and Hostname Verification for amqps URIs in RabbitConnectionFactoryBean

Moderate CVE-2026-41714

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.amqp:spring-amqp
From 4.0.0 before 4.0.4 (fixed in 4.0.4)
Mavenorg.springframework.amqp:spring-amqp
From 3.2.0 before 3.2.11 (fixed in 3.2.11)
Mavenorg.springframework.amqp:spring-amqp
From 3.1.0 up to and including 3.1.15
Mavenorg.springframework.amqp:spring-amqp
All versions up to and including 2.4.17

References