CVE-2026-40970

Spring Boot: Spring Boot: Missing hostname verification in Elasticsearch auto-configuration allows information disclosure

Published Apr 27, 2026 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c96x-rpm4-349p Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Boot
CPEs cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Boot
Type Values Removed Values Added
Title Missing Hostname Verification in Spring Boot Elasticsearch Auto-Configuration Spring Boot: Spring Boot: Missing hostname verification in Elasticsearch auto-configuration allows information disclosure
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
Title Missing Hostname Verification in Spring Boot Elasticsearch Auto-Configuration
Type Values Removed Values Added
First Time appeared Spring
Spring spring Boot
Vendors & Products Spring
Spring spring Boot
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Weaknesses CWE-295
References
Metrics cvssV3_1

{'score': 5, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Apr 27, 2026, 7:30 PM
Reserved
Apr 16, 2026, 2:18 AM
Status
Analyzed
Published
Apr 27, 2026, 7:16 PM
Modified
Oct 26, 2026, 9:10 PM
Severity
Moderate
Public date
Apr 27, 2026, 7:09 PM