CVE-2026-40974: spring spring boot Improper Certificate Validation
Vulnerability summary
CVE-2026-40974 is a critical (CVSS 9.8) Improper Certificate Validation vulnerability in spring spring boot. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 28.2% of scored vulnerabilities.
Timeline
- 27-04-2026PublishedVulnerability first disclosed.
- 28-04-2026Last modifiedVulnerability information updated.
Description
Spring Boot's Cassandra auto-configuration does not perform hostname verification when establishing an SSL connection to Cassandra. Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); Cassandra SSL auto-configuration. Versions that are no longer supported are also affected per vendor advisory.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.0MediumCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · MavenEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
28%
Versus all other CVEs
30-day change
+0.18 pp
From 0.18% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.springframework.boot1 product
- spring-boot-cassandra≥ 4.0.0, < 4.0.6 | ≥ 3.5.0, < 3.5.14 | ≥ 3.4.0, ≤ 3.4.15 | ≥ 3.3.0, ≤ 3.3.18 | ≤ 2.7.32
Spring1 product
- spring boot≥ 4.0.0, < 4.0.6 | ≥ 3.5.0, < 3.5.14 | ≥ 3.4.0, < 3.4.16 | ≥ 3.3.0, < 3.3.19 | ≥ 2.7.0, < 2.7.33
Vmware1 product
- spring_boot≥ 2.7.0, < 2.7.33 | ≥ 3.3.0, < 3.3.19 | ≥ 3.4.0, < 3.4.16 | ≥ 3.5.0, < 3.5.14 | ≥ 4.0.0, < 4.0.6
3 vendors · 3 products