ADVISORIES

Red Hat VEX

RHVEX-CVE-2026-40970

Spring Boot: Spring Boot: Missing hostname verification in Elasticsearch auto-configuration allows information disclosure

Moderate No fix available CVE-2026-40970

Details

A flaw was found in Spring Boot. When configured to use an SSL (Secure Sockets Layer) bundle, the Elasticsearch auto-configuration component does not perform hostname verification when establishing a connection to the Elasticsearch server. An attacker on an adjacent network could exploit this by performing a man-in-the-middle attack. This could lead to the disclosure or modification of sensitive information exchanged between Spring Boot and the Elasticsearch server.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:8log4j
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8log4j-jcl
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8log4j-slf4j
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:8log4j-web
All versions, no fix (fix deferred)
Red Hat:enterprise_linux:9log4j
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:9log4j-jcl
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:9log4j-slf4j
All versions, no fix (out of support scope)

References