CVE-2026-40974: Spring Boot · Improper Certificate Validation
Affects Spring BootSource CVE Database V5
Not known to be exploited · CVSS 5.0 Medium · fixed in 4.0.6 : update Spring Boot when convenient.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 7% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.6, 3.5.14, 3.4.16 +2
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 27 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
| SpringSpring Boot | Affected
| Fixed in
|
Mavenorg.springframework.boot/spring-bootpkg:maven/org.springframework.boot/spring-bootOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Fixed versions of Spring Boot have been released that address this vulnerability by adding proper hostname verification in Cassandra SSL auto-configuration. Users should upgrade to the fixed versions: 2.7.33, 3.3.19, 3.4.16, 3.5.14, or 4.0.6 depending on their current version. Patch status is not explicitly confirmed in the provided data, but the vendor advisory indicates fixes in these versions. No other mitigation guidance is provided. Check the official Spring Boot release notes and advisories for the latest remediation instructions.
Description
CVE-2026-40974 is a medium severity vulnerability in Spring Boot's Cassandra SSL auto-configuration where hostname verification is not performed during SSL connections to Cassandra. This affects multiple Spring Boot versions from 2.7.0 through 4.0.5, with fixes available in later patch versions. The lack of hostname verification can lead to improper certificate validation, potentially allowing man-in-the-middle attacks that compromise confidentiality, integrity, and availability. No known exploits are reported in the wild at this time.