Skip to content
CVE-2026-40970: Elasticsearch auto-configuration with an SSL bundle disables TLS hostname verification

CVE-2026-40970: Elasticsearch auto-configuration with an SSL bundle disables TLS hostname verification

spring.io April 27, 2026

When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname verification when connecting to the Elasticsearch server.

Users of affected versions should upgrade to the corresponding fixed version.

No further mitigation steps are necessary.

The issue was identified and responsibly reported by Yu Bao (@August829) - [email protected] – who works for paypal.com.

To report a security vulnerability for a project within the Spring portfolio, see the Security Policy

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Check out all the upcoming events in the Spring community.

Extracted Entities