# CVE-2026-40970

> Vulnerability · severity: **MEDIUM** (CVSS 5).

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

## Key facts

- **CVE ID:** CVE-2026-40970
- **Published:** 2026-04-27
- **CVSS severity:** MEDIUM
- **CVSS base score:** 5
- **CWE codes:** CWE-295

## Affected products

- `vmware:spring_boot`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40970

## Citation

> AI Analytics. CVE-2026-40970. Retrieved 2026-07-15 from https://api.ai-analytics.org/cve/CVE-2026-40970. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*