Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Adjacent-network MITM requires both physical/logical proximity and an SSL bundle configuration, justifying AV:A and AC:H; no application-layer privileges needed, and impact per dimension is low.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5Blast Radius
ecosystem impact- 17 maven packages depend on org.springframework.boot:spring-boot-elasticsearch (4 direct, 13 indirect)
Ecosystem-wide dependent count for version 4.0.0.
DescriptionCVE.org
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.
AnalysisAI
Spring Boot's Elasticsearch auto-configuration omits hostname verification when an SSL bundle is used, opening TLS connections to the Elasticsearch server to man-in-the-middle interception by an attacker on the adjacent network. Affected versions are 4.0.0 through 4.0.5; only deployments explicitly configured with an SSL bundle are exposed. No active exploitation is confirmed (absent from CISA KEV, EPSS 0.01% at the 3rd percentile), and VMware has released a fix in version 4.0.6.
Technical ContextAI
CWE-295 (Improper Certificate Validation) identifies the root cause: the auto-configured Elasticsearch REST client accepts TLS certificates without checking that the server's CN or SAN matches the intended hostname, making the TLS handshake trivially spoofable. Spring Boot's SSL bundle abstraction, introduced as a convenience mechanism for supplying keystores and truststores declaratively, is the specific feature path that triggers the flaw. Without an SSL bundle configured the auto-configuration code path is not reached and the vulnerability is not present. The affected component is identified by CPE cpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* and confirmed by ENISA EUVD-2026-25908 as covering Spring Boot 4.0.0 through 4.0.5.
RemediationAI
Upgrade to Spring Boot 4.0.6 or later, which corrects hostname verification in the Elasticsearch auto-configuration. The vendor-released patch is documented at https://spring.io/security/cve-2026-40970. If an immediate upgrade is not possible, define a custom Elasticsearch REST client bean explicitly enabling HTTPS hostname verification (HostnameVerifier set to HTTPS_STRICT), which bypasses the faulty auto-configuration path entirely; this requires application code changes and connectivity re-testing. As a network-level compensating control, isolate Elasticsearch traffic to a dedicated private VLAN or segment where adjacent-network MITM is infeasible, reducing practical risk while the upgrade is scheduled. Disabling SSL entirely is not an acceptable workaround as it eliminates transport encryption.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
Same weakness CWE-295 – Improper Certificate Validation
View allSame technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-25908