Spring Boot
CVE-2026-40971
CRITICAL
Severity by source
Sources disagree (Medium–Critical)AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Adjacent vector and high complexity reflect mandatory network interception positioning; all impacts are Low as attacker reaches only the RabbitMQ channel, not the host itself.
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
When configured to use an SSL bundle, Spring Boot's RabbitMQ auto-configuration does not perform hostname verification when connecting to the RabbitMQ broker.
Affected: Spring Boot 4.0.0-4.0.5 (fix 4.0.6), 3.5.0-3.5.13 (fix 3.5.14) per vendor advisory.
AnalysisAI
Spring Boot's RabbitMQ auto-configuration omits TLS hostname verification when an SSL bundle is configured, enabling a man-in-the-middle attack on the message broker connection. Affected are Spring Boot 4.0.0-4.0.5 and 3.5.0-3.5.13; fixed in 4.0.6 and 3.5.14 respectively per the vendor advisory at spring.io. No active exploitation has been confirmed - CISA KEV status is absent, EPSS is 0.01% (3rd percentile), and SSVC classifies exploitation as none - making this a medium-priority patch for deployments that use SSL bundles with RabbitMQ.
Technical ContextAI
CWE-295 (Improper Certificate Validation) describes cases where TLS is established but the certificate's Subject Alternative Names or Common Name are never matched against the intended server hostname, leaving the channel open to impersonation. Spring Boot's auto-configuration for RabbitMQ (cpe:2.3:a:spring:spring_boot) wires connection-factory beans automatically when spring.rabbitmq.* properties are present. When the SSL bundle mechanism - a Spring Boot 3.1+ feature that centralises keystore/truststore configuration - is used, the auto-configured connection factory does not set a hostname verifier, bypassing a control that is normally enforced by default in standard Java TLS. The flaw is scoped to the auto-configuration path; manually constructed connection factories are not affected unless they replicate the same omission.
RemediationAI
The primary fix is to upgrade to Spring Boot 4.0.6 (for 4.0.x users) or 3.5.14 (for 3.5.x users), as confirmed by the vendor advisory at https://spring.io/security/cve-2026-40971. If an immediate upgrade is not feasible, operators can mitigate by moving to a manually configured RabbitMQ connection factory that explicitly sets a hostname verifier - this bypasses the flawed auto-configuration path but requires code changes and re-testing. A network-level compensating control is to enforce strict network segmentation so that no untrusted host can reach the path between the Spring Boot application and its RabbitMQ broker; this limits the adjacent-network exploitation window but does not eliminate the underlying flaw. Disabling SSL bundles in favour of direct truststore configuration is another workaround, though this loses the ergonomic benefits of the bundle mechanism. No version-number outside of 4.0.6 and 3.5.14 should be inferred as patched.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-295 – Improper Certificate Validation
View allSame technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today