CVE-2026-40974
Spring Boot's Cassandra SSL auto-configuration disables TLS hostname verification
Reported by vmware · Published April 27, 2026
spring-boot-cassandra is fixed in 4.0.6, 3.5.14, 3.4.15 and 2 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.boot:spring-boot-cassandra | Maven Central | 4.0.6, 3.5.14, 3.4.15, 3.3.18, 2.7.32 |
| Spring Boot | Spring | 4.0.6, 3.5.14, 3.4.16, 3.3.19, 2.7.33 |
| spring_boot | vmware | 4.0.6, 3.5.14, 3.4.16, 3.3.19, 2.7.33 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Boot | 4.0.0, 3.5.0, 3.4.0 |
| Spring | Spring Boot | 4.0.0, 3.5.0, 3.4.0 |
| Maven | org.springframework.boot:spring-boot-cassandra | 0, 3.3.0, 3.4.0 |
Timeline
- Apr 23, 2026 CVE Published
- Apr 24, 2026 PoC Published
- May 13, 2026 Security Advisory (5 in total, the first dated here)
- May 18, 2026 EPSS Score (30 in total, the first dated here)
- Jul 24, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (4 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-40974
vulnetix vdb fixes CVE-2026-40974
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40974/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart