Skip to main content

Spring Boot EUVDEUVD-2026-25908

| CVE-2026-40970 MEDIUM
Improper Certificate Validation (CWE-295)
2026-04-27 security@vmware.com
6.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain adjacent-network position
  2. Delivery
    Intercept TLS session to Elasticsearch
  3. Exploit
    Present fraudulent or mismatched certificate
  4. Execution
    Certificate accepted without hostname check
  5. Impact
    Read 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring Boot 4.0.0 <4.0.6

Affected Packages

maven org.springframework.boot:spring-boot-elasticsearch fix: 4.0.6
euvd spring_boot fix: 4.0.6

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

NVD PRIMARY 6.8 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 5.0 MEDIUM

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.

3.1 AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:A/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 4.2 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

4
CVSS changed
Oct 26, 2026 - 21:23 NVD
5.0 (MEDIUM) 6.8 (MEDIUM)
Patch available
Apr 27, 2026 - 21:01 EUVD
Patch released
Apr 27, 2026 - 19:26 nvd
Patch available
CVE Published
Apr 27, 2026 - 19:16 nvd
MEDIUM 5.0

DescriptionNVD

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.0%
Top 97% exploitable
Prevalence
High
widely-used Java application framework across enterprise environments
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2017-8046 CRITICAL POC
9.8 Jan 04

Malicious PATCH requests submitted to servers using Spring Data REST versions prior to 2.6.9 (Ingalls SR9), versions pri

CVE-2022-27772 HIGH POC
7.8 Mar 30

spring-boot versions prior to version v2.2.11.RELEASE was vulnerable to temporary directory hijacking. Rated high severi

CVE-2026-40974 CRITICAL
9.8 Apr 28

Spring Boot's Cassandra auto-configuration fails to verify hostnames during SSL/TLS connection establishment to Cassandr

CVE-2023-20873 CRITICAL
9.8 Apr 20

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

CVE-2021-26987 CRITICAL
9.8 Mar 15

Element Plug-in for vCenter Server incorporates SpringBoot Framework. Rated critical severity (CVSS 9.8), this vulnerabi

CVE-2026-96882 MEDIUM POC
5.5 Sep 24

Unauthorized read access to book records in TaleLin lin-cms-spring-boot 0.2.1 and earlier is possible through the search

CVE-2026-96881 MEDIUM POC
5.5 Sep 24

Improper authorization in TaleLin lin-cms-spring-boot through 0.2.1 lets unauthenticated remote attackers read book reco

CVE-2026-96880 MEDIUM POC
5.5 Sep 24

Improper authorization in TaleLin lin-cms-spring-boot 0.2.1 and earlier lets remote unauthenticated attackers read book

CVE-2026-40976 CRITICAL
9.1 Apr 28

Authentication bypass in Spring Boot 4.0.0-4.0.5 allows remote unauthenticated attackers to access all application endpo

CVE-2026-40971 CRITICAL
9.1 Apr 27

Spring Boot's RabbitMQ auto-configuration omits TLS hostname verification when an SSL bundle is configured, enabling a m

CVE-2026-22733 HIGH
8.2 Mar 20

This is an authentication bypass vulnerability in Spring Boot applications using Spring Security with Actuator endpoints

CVE-2026-22731 HIGH
8.2 Mar 19

Spring Boot Actuator endpoints can be bypassed for authentication when application endpoints are configured under Health

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy