Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.
Moderate severity
GitHub Reviewed
Published
Apr 27, 2026
to the GitHub Advisory Database
•
Updated May 6, 2026
Package
Affected versions
>= 4.0.0, < 4.0.6
Patched versions
4.0.6
Description
Published by the National Vulnerability Database
Apr 27, 2026
Published to the GitHub Advisory Database
Apr 27, 2026
Reviewed
May 6, 2026
Last updated
May 6, 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.
Affected: Spring Boot 4.0.0–4.0.5; upgrade to 4.0.6 or later per vendor advisory.
References