spring-projects/spring-boot · Security
Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.
- GHSA ID
- GHSA-c96x-rpm4-349p
- CVE ID
- CVE-2026-40970
- Severity
- medium
- Published
- Updated
- CVSS
- 5 · CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 5 · CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
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.
CWEs
- CWE-295 · Improper Certificate Validation