Skip to content
OpenAdvisories
Medium · 4.0 CVE-2026-41714 EUVD-2026-35898GHSA-p8qj-fj6r-w7q9

In Spring AMQP the RabbitConnectionFactoryBean.setUri("amqps://...") bypasses secure SSL setup, uses TrustEverythingTrustManager

Published Jun 9, 2026 · Updated Jun 27, 2026 · Assigned by vmware

Description

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 products

VendorProductAffectedFixed
Spring Spring AMQP 4.0.0 – < 4.0.3.1, 3.2.0 – < 3.2.10.1, 3.1.0 – < 3.1.16, 2.4.0 – < 2.4.18 4.0.3.1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.amqp:spring-amqp >= 4.0.0, < 4.0.4 4.0.4 GHSA-p8qj-fj6r-w7q9
Maven org.springframework.amqp:spring-amqp >= 3.2.0, < 3.2.11 3.2.11 GHSA-p8qj-fj6r-w7q9
Maven org.springframework.amqp:spring-amqp >= 3.1.0, <= 3.1.15 — GHSA-p8qj-fj6r-w7q9
Maven org.springframework.amqp:spring-amqp <= 2.4.17 — GHSA-p8qj-fj6r-w7q9

References