# CVE-2026-40970: Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.

- Severity: Medium 5.0 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-04-27T19:09:58.835Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-c96x-rpm4-349p
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Spring Spring Boot: from 4.0.0 before 4.0.6
- org.springframework.boot:spring-boot-elasticsearch (Maven): from 4.0.0 before 4.0.6
- vmware spring_boot: from 4.0.0 before 4.0.6

## Every score

- vmware: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://spring.io/security/cve-2026-40970> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40970> (advisory)
- <https://github.com/spring-projects/spring-boot> (package)
- <https://github.com/spring-projects/spring-boot/releases/tag/v4.0.6> (web)

## Sources

- CVE List: [CVE-2026-40970](https://www.cve.org/CVERecord?id=CVE-2026-40970), CVE Terms of Use, modified 2026-04-27
- GitHub Advisory Database: [GHSA-c96x-rpm4-349p](https://github.com/advisories/GHSA-c96x-rpm4-349p), CC-BY-4.0, modified 2026-05-06
- NVD: [CVE-2026-40970](https://nvd.nist.gov/vuln/detail/CVE-2026-40970), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40970 · Whole record: https://cve.day/CVE-2026-40970.json · Rebuilt by cve.day 2026-11-25T22:59:19.780Z
