Spring AMQP Core: Missing Certificate and Hostname Verification for amqps URIs in RabbitConnectionFactoryBean
Moderate severity
GitHub Reviewed
Published
Jun 10, 2026
to the GitHub Advisory Database
•
Updated Aug 12, 2026
Package
Affected versions
>= 4.0.0, <= 4.0.3
>= 3.2.0, <= 3.2.10
>= 3.1.0, <= 3.1.15
<= 2.4.17
Patched versions
4.0.4
3.2.11
Description
Published by the National Vulnerability Database
Jun 10, 2026
Published to the GitHub Advisory Database
Jun 10, 2026
Reviewed
Aug 12, 2026
Last updated
Aug 12, 2026
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.
References