CVE-2026-40970
Reported by vmware · Published April 27, 2026
spring-boot-elasticsearch is fixed in 4.0.6 (Maven Central)
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.
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-elasticsearch | Maven Central | 4.0.6 |
| spring_boot | vmware | 4.0.6 |
| Spring Boot | Spring | 4.0.6 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Boot | 4.0.0 |
| Maven | org.springframework.boot:spring-boot-elasticsearch | 4.0.0 |
| Spring | Spring Boot | 4.0.0 |
Timeline
- Apr 23, 2026 CVE Published
- Apr 24, 2026 PoC Published
- Apr 27, 2026 CVE Updated
- May 18, 2026 EPSS Score (27 in total, the first dated here)
- Jun 1, 2026 Security Advisory (5 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-40970
vulnetix vdb fixes CVE-2026-40970
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-40970/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart