Vulnerability · Published Jun 9, 2026 · Assigned by vmware
CVE-2026-41714In Spring AMQP the RabbitConnectionFactoryBean.setUri("amqps://...") bypasses secure SSL setup, uses TrustEverythingTrustManager
Medium 4.0
In plain English
A medium-severity improper certificate validation in Spring AMQP from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.springframework.amqp:spring-amqp | 4.0.4 | GHSA-p8qj-fj6r-w7q9 |
| Maven | org.springframework.amqp:spring-amqp | 3.2.11 | GHSA-p8qj-fj6r-w7q9 |
| Maven | org.springframework.amqp:spring-amqp | no fix listed | GHSA-p8qj-fj6r-w7q9 |
| Maven | org.springframework.amqp:spring-amqp | no fix listed | GHSA-p8qj-fj6r-w7q9 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring AMQP | 4.0.0 – before 4.0.3.13.2.0 – before 3.2.10.13.1.0 – before 3.1.162.4.0 – before 2.4.18 |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N