CVE-2026-40970: When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname
CVE-2026-40970 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.
When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname verification when connecting to the Elasticsearch server. Affected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later 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.1% (top 97%) |
| CISA exploited list | No |
| Weakness | CWE-295 |
| Published | 2026-04-27 |
| Last modified | 2026-10-26 |
Last updated 2026-10-26 · 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-40970?
spring boot: upgrade to 4.0.6. Exact commands for each OS are on this page.
Is CVE-2026-40970 being exploited?
CVE-2026-40970 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-40970 affect?
CVE-2026-40970 affects spring boot. Severity is medium (CVSS 5.0). When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname verification when connecting to the Elasticsearch server. Affected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later per vendo
How urgent is CVE-2026-40970?
Priority 18/100. No elevated risk signals yet.
Software pages
Spring Framework vulnerabilities · Elasticsearch vulnerabilities · VMware vulnerabilities