Skip to content
OpenAdvisories
Medium · 5.0 CVE-2026-40970 EUVD-2026-25908GHSA-c96x-rpm4-349p

Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.

Published Apr 27, 2026 · Updated Apr 27, 2026 · Assigned by vmware

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.

Affected products

VendorProductAffectedFixed
Spring Spring Boot 4.0.0 – < 4.0.6 4.0.6

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework.boot:spring-boot-elasticsearch >= 4.0.0, < 4.0.6 4.0.6 GHSA-c96x-rpm4-349p

Advisories 1

References