CVE-2026-40974: Spring Boot's Cassandra auto-configuration does not perform hostname verification when establishing an SSL con
CVE-2026-40974 is a medium-severity flaw (CVSS 5.0) affecting spring boot. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.0 (Medium) |
| Attack vector | Adjacent network |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 92%) |
| CISA exploited list | No |
| Weakness | CWE-295 |
| Published | 2026-04-28 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40974?
spring boot: upgrade to 2.7.33, 3.3.19, 3.4.16, 3.5.14, 4.0.6. Exact commands for each OS are on this page.
Is CVE-2026-40974 being exploited?
CVE-2026-40974 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40974 affect?
CVE-2026-40974 affects spring boot. Severity is medium (CVSS 5.0). 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–
How urgent is CVE-2026-40974?
Priority 19/100. No elevated risk signals yet.
Software pages
Spring Framework vulnerabilities · VMware vulnerabilities · Apache Cassandra vulnerabilities
Related CVEs
- CVE-2026-40970 MEDIUM 5.0 UPGRADE When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname
- CVE-2026-41001 MEDIUM 5.3 UPGRADE Spring Boot's ArtemisEmbeddedConfigurationFactory uses a fixed, static path for the embedded Artemis message b
- CVE-2026-40992 MEDIUM 5.0 UPGRADE Spring Boot's Mail auto-configuration does not enable hostname verification
- CVE-2026-40976 CRITICAL 9.1 UPGRADE In certain circumstances, Spring Boot's default web security is ineffective allowing unauthorized access to al
- CVE-2026-40972 HIGH 7.5 UPGRADE An attacker on the same network as the remote application may be able to utilize a timing attack to discover i