CVE-2026-40970
MEDIUM 6.8CVSS 3.1Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.
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.
- Published
- 27 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-295
- Also known as
- GHSA-c96x-rpm4-349p
- Sources
- NVDJSONOSV GHSA-c96x-rpm4-349pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_bootcpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.6 | 4.0.6 |
| OSV | Maven | org.springframework.boot:spring-boot-elasticsearch | >= 4.0.0, < 4.0.6 | 4.0.6 |
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
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 Apr 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Apr 2026)