CVE-2026-40970
Published:April 27, 2026
Updated:May 18, 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.
Affected Packages
https://github.com/spring-projects/spring-boot.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.0.6Fix Suggestion:
Update to version v4.0.6org.springframework.boot:spring-boot-elasticsearch (JAVA):
Affected version(s) >=4.0.0 <4.0.6Fix Suggestion:
Update to version 4.0.6Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
2.3
Attack Vector
ADJACENT
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5
Attack Vector
ADJACENT
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Certificate Validation
EPSS
Base Score:
0.03