Skip to main content

Spring Boot CVE-2026-40970

| EUVDEUVD-2026-25908 MEDIUM
Improper Certificate Validation (CWE-295)
2026-04-27 security@vmware.com
5.0
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
5.0 MEDIUM
AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
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
qualitative

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

5
Analysis Generated
Jul 24, 2026 - 05:03 vuln.today
Patch available
Apr 27, 2026 - 21:01 EUVD
Patch released
Apr 27, 2026 - 19:26 nvd
Patch available
EUVD ID Assigned
Apr 27, 2026 - 19:22 euvd
EUVD-2026-25908
CVE Published
Apr 27, 2026 - 19:16 nvd
MEDIUM 5.0

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.

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.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Vendor StatusVendor

Share

CVE-2026-40970 vulnerability details – vuln.today

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