CVE-2026-40971: CWE-295: Improper Certificate Validation in Spring Spring Boot
CVE-2026-40971 is a medium severity vulnerability in Spring Boot versions 3.5.0 through 3.5.13 and 4.0.0 through 4.0.5. When using SSL bundles for RabbitMQ auto-configuration, Spring Boot does not perform hostname verification when connecting to the RabbitMQ broker.
AI Analysis
Technical Summary
This vulnerability (CWE-295) arises from Spring Boot's RabbitMQ auto-configuration failing to verify the hostname in SSL certificates when connecting to RabbitMQ brokers. Affected versions include 3.5.0 to 3.5.13 and 4.0.0 to 4.0.5. The lack of hostname verification undermines the SSL/TLS trust model, potentially allowing attackers to intercept or manipulate communications. The vendor advisory indicates fixes are available in versions 3.5.14 and 4.0.6.
Potential Impact
The improper certificate validation can allow an attacker with network access to perform man-in-the-middle attacks against RabbitMQ connections configured with SSL bundles, potentially leading to interception or modification of data in transit. The CVSS score of 5.0 reflects limited attack vector (adjacent network) and high attack complexity, with impacts on confidentiality, integrity, and availability rated as low to medium.
Mitigation Recommendations
Upgrade affected Spring Boot versions to 3.5.14 or 4.0.6 or later, where hostname verification in RabbitMQ SSL connections is properly enforced. Since the vendor advisory specifies these fixed versions, applying these updates is the recommended remediation. No other mitigations are indicated by the vendor advisory.
CVE-2026-40971: CWE-295: Improper Certificate Validation in Spring Spring Boot
Description
CVE-2026-40971 is a medium severity vulnerability in Spring Boot versions 3.5.0 through 3.5.13 and 4.0.0 through 4.0.5. When using SSL bundles for RabbitMQ auto-configuration, Spring Boot does not perform hostname verification when connecting to the RabbitMQ broker.
CVSS v3.1
Score 5.0medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-295) arises from Spring Boot's RabbitMQ auto-configuration failing to verify the hostname in SSL certificates when connecting to RabbitMQ brokers. Affected versions include 3.5.0 to 3.5.13 and 4.0.0 to 4.0.5. The lack of hostname verification undermines the SSL/TLS trust model, potentially allowing attackers to intercept or manipulate communications. The vendor advisory indicates fixes are available in versions 3.5.14 and 4.0.6.
Potential Impact
The improper certificate validation can allow an attacker with network access to perform man-in-the-middle attacks against RabbitMQ connections configured with SSL bundles, potentially leading to interception or modification of data in transit. The CVSS score of 5.0 reflects limited attack vector (adjacent network) and high attack complexity, with impacts on confidentiality, integrity, and availability rated as low to medium.
Mitigation Recommendations
Upgrade affected Spring Boot versions to 3.5.14 or 4.0.6 or later, where hostname verification in RabbitMQ SSL connections is properly enforced. Since the vendor advisory specifies these fixed versions, applying these updates is the recommended remediation. No other mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:18:56.133Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69efec8cd3d5ab91023ba5f4
Added to database: 4/27/2026, 11:09:00 PM
Last enriched: 5/5/2026, 7:38:24 AM
Last updated: 6/12/2026, 3:09:54 AM
Views: 143
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.