
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-40974 is a TLS hostname verification bypass vulnerability in Spring Boot's Cassandra SSL auto-configuration, allowing network-adjacent attackers to perform man-in-the-middle (MitM) attacks against Cassandra database connections. Disclosed on April 23, 2026, it affects Spring Boot versions 2.7.0–2.7.32, 3.3.0–3.3.18, 3.4.0–3.4.15, 3.5.0–3.5.13, and 4.0.0–4.0.5; unsupported versions are also affected per the vendor advisory. The GitHub Advisory Database rates this as Moderate with a CVSS v3.1 score of 5.0 (AV:A/AC:H), while Feedly's aggregated data reflects a higher score of 9.8 based on an alternate vector assessment (Spring Advisory, GitHub Advisory).
The root cause is classified as CWE-295 (Improper Certificate Validation): Spring Boot's Cassandra auto-configuration omits hostname verification during SSL/TLS handshake establishment, meaning the client does not confirm that the server's certificate matches the expected hostname. This enables a network-adjacent attacker positioned between the Spring Boot application and the Cassandra cluster to present a fraudulent certificate and intercept or tamper with the encrypted connection. Exploitation requires the attacker to be on the same network segment (adjacent network) and to have the ability to intercept traffic (e.g., ARP spoofing or rogue DNS), making the attack complexity high. The affected Maven artifact is org.springframework.boot:spring-boot-cassandra (Spring Advisory, GitHub Advisory).
A successful exploit allows an unauthenticated, network-adjacent attacker to decrypt and read sensitive database traffic in transit, modify data being sent to or from Cassandra, or impersonate the Cassandra server entirely. This exposes confidentiality, integrity, and availability of all data exchanged over the SSL-protected Cassandra connection, potentially including credentials, application data, and query results. Downstream IBM products using Spring Boot — including IBM API Connect, IBM Instana Observability, IBM Sterling Connect:Direct Web Services, and IBM Business Automation Manager Open Editions — are also affected (Spring Advisory, IBM Advisory).
spring.cassandra.ssl.enabled=true but running a vulnerable version (below the fixed releases); absence of hostname verification configuration in Cassandra driver settings.Users should upgrade to the corresponding fixed Spring Boot version immediately: 4.0.6 (OSS), 3.5.14 (OSS), 3.4.16 (Enterprise Support), 3.3.19 (Enterprise Support), or 2.7.33 (Enterprise Support). No additional configuration-based workarounds are required beyond upgrading. As a temporary defense-in-depth measure, implement network segmentation to restrict access to Cassandra ports (9042/9142) to only trusted application hosts, and consider using a VPN or encrypted overlay network for database traffic if patching is delayed. IBM product users should apply the corresponding IBM-specific patches for API Connect, Instana, Sterling Connect:Direct Web Services, and Business Automation Manager Open Editions (Spring Advisory, IBM Advisory).
The Spring team (Broadcom/VMware) published the initial security advisory on April 23, 2026, rating the vulnerability as MEDIUM severity and providing fixed versions across all supported branches (Spring Advisory). HeroDevs published a blog post covering this and other Spring Boot April 2026 CVEs, noting the broader context of eight CVEs disclosed in that release cycle (HeroDevs Blog). IBM issued multiple security bulletins for affected downstream products, reflecting the wide reach of Spring Boot in enterprise software stacks (IBM Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."