Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent-network position
-
DeliveryIntercept TLS session to Elasticsearch
-
ExploitPresent fraudulent or mismatched certificate
-
ExecutionCertificate accepted without hostname check
-
ImpactRead or tamper with Elasticsearch data in transit
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V12 - Secure Communication Certificate validation
|
| Exploitation Conditions | Two specific conditions must simultaneously be true: (1) the Spring Boot application must explicitly configure an SSL bundle for its Elasticsearch connection - the flaw is in the SSL bundle code path of auto-configuration and does not affect default (non-SSL-bundle) setups; and (2) the attacker must occupy the same adjacent network segment as the application host, capable of intercepting or redirecting TLS traffic destined for the Elasticsearch server (AV:A, AC:H). No authentication to the Spring Boot application is required (PR:N), but exploitation from arbitrary internet addresses is impossible given the adjacent-network constraint. Applications not running Spring Boot 4.0.0-4.0.5, not using Elasticsearch, or not using the SSL bundle configuration feature are entirely unaffected. |
| Impact | All available signals converge on a low real-world priority. The CVSS vector AV:A constrains the attacker to the adjacent network segment, ruling out opportunistic internet-scale exploitation. AC:H further requires specific positioning capability for a successful MITM attack. The EPSS score of 0.01% (3rd percentile) reflects negligible observed exploitation interest across the threat landscape. SSVC classification of Exploitation: none, Automatable: no, Technical Impact: partial aligns precisely with these signals. The C:L/I:L/A:L impact ratings indicate limited blast radius even if exploited - an attacker can intercept Elasticsearch traffic but does not gain full system compromise. One tension worth noting: AV:A implies no authentication requirement from the application layer (PR:N), yet exploitation demands both network adjacency and an application configured with an SSL bundle, making the effective difficulty higher than the raw CVSS score suggests. This is a genuine cryptographic oversight deserving a scheduled fix, not an emergency response. |
| Exploit ScenarioDerived | An attacker with access to the same network segment as the Spring Boot application performs ARP spoofing or a similar layer-2 interception technique to position themselves between the application and the Elasticsearch server. Because the auto-configured REST client does not verify the server's hostname against its TLS certificate, the attacker presents a self-signed or mismatched certificate that is silently accepted, enabling full visibility into - and potential modification of - all Elasticsearch queries and indexed data in transit. No public exploit code has been identified, and the high attack complexity limits this scenario to targeted adversaries with network access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Spring Boot gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
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
4DescriptionNVD
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.
Blast 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Spring Boot
View allMalicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions pri
spring-boot versions prior to version v2.2.11.RELEASE was vulnerable to temporary directory hijacking. Rated high severi
Spring Boot's Cassandra auto-configuration fails to verify hostnames during SSL/TLS connection establishment to Cassandr
In Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions, an application that is deployed t
Element Plug-in for vCenter Server incorporates SpringBoot Framework. Rated critical severity (CVSS 9.8), this vulnerabi
Unauthorized read access to book records in TaleLin lin-cms-spring-boot 0.2.1 and earlier is possible through the search
Improper authorization in TaleLin lin-cms-spring-boot through 0.2.1 lets unauthenticated remote attackers read book reco
Improper authorization in TaleLin lin-cms-spring-boot 0.2.1 and earlier lets remote unauthenticated attackers read book
Authentication bypass in Spring Boot 4.0.0-4.0.5 allows remote unauthenticated attackers to access all application endpo
Spring Boot's RabbitMQ auto-configuration omits TLS hostname verification when an SSL bundle is configured, enabling a m
This is an authentication bypass vulnerability in Spring Boot applications using Spring Security with Actuator endpoints
Spring Boot Actuator endpoints can be bypassed for authentication when application endpoints are configured under Health
EUVD-2026-25908
NVD
CVE.org
EPSS
Vulnrichment
VulDB
GitHub PoC
Exploit-DB