Improper Certificate Validation in Spring Boot - CVE-2026-40970

 

Improper Certificate Validation in Spring Boot - CVE-2026-40970

Published: April 27, 2026


Vulnerability identifier: #VU128229
CSH Severity: Medium
CVSS v4: 2.3 [CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-40970
CWE-ID: CWE-295
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information, modify data, or cause a denial of service.

The vulnerability exists due to improper certificate validation in Elasticsearch auto-configuration when connecting to the Elasticsearch server using an SSL bundle. A remote attacker can present a crafted server certificate to disclose sensitive information, modify data, or cause a denial of service.


Affected software

Spring Boot

How to mitigate CVE-2026-40970

Install security update from vendor's website.

Spring Boot - update to 4.0.6

External References

Related Security Bulletins