GitHub Advisoryadvisory · Maven
GHSA-c96x-rpm4-349p Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.
MEDIUM
Official page ↗
- Aliases
- CVE-2026-40970
- Ecosystem
- Maven
- Packages
- org.springframework.boot:spring-boot-elasticsearch
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-295
- Reviewed
- 2026-05-06
Affected packages
• Maven org.springframework.boot:spring-boot-elasticsearch: >= 4.0.0, < 4.0.6 → fixed in 4.0.6
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.
Related
Alias · CVE (1)
- CVE-2026-40970 When configured to use an SSL bundle, Spring Boot's Elasticsearch auto-configuration does not perform hostname verification when connecting… vulnerability
Weakness · CWE (1)
- CWE-295 Improper Certificate Validation weakness