CVE-2026-40970: Org.springframework.boot:spring boot elasticsearch: Spring Boot's Elasticsearch auto-configuration
Affects org.springframework.boot:spring-boot-elasticsearchSource GCVE Database
Not known to be exploited · CVSS 5.0 Medium : upgrade to 4.0.6 when convenient.
Data as of 27 Oct 2026, 00:07 UTC
- Patch
- Available – fixed in 4.0.6
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
Weaponised: 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 26 Oct 2026.
What to do
Upgrade org.springframework.boot:spring-boot-elasticsearch to 4.0.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.springframework.boot:spring-boot-elasticsearch | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.