Skip to content

CVE-2026-40970 Spring Boot's Elasticsearch auto-configuration doesn't perform hostname verification when connecting to the Elasticsearch server.

MediumCVSS 6.8 EPSS 0.14%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Red Hat

Description

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.

Upgrade path

18 packages: 3 fixed, 15 with no fix yet.

PackageAffectedFixed inStatus
redhat/devspaces/openvsx-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/devspaces/pluginregistry-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/log4j:2/log4j(Red Hat enterprise_linux 8) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat amq_broker 7) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat amq_clients 2023) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat apache_camel_hawtio 4) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat camel_spring_boot 4) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat jboss_bpms 7) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat jboss_data_grid 8) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat jboss_enterprise_application_platform 7) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat jboss_enterprise_application_platform 8) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat jbosseapxp) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat optaplanner el6) All versions No fix listed No fix yet
redhat/spring-boot(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
org.springframework.boot/spring-boot-elasticsearch(Maven) = 4.0.0; = 4.0.1; = 4.0.2; = 4.0.3 +3 more 4.0.6 Fixed
Spring Boot >= 4.0.0, < 4.0.6 4.0.6 Fixed
VMware spring boot >= 4.0.0, < 4.0.6 4.0.6 Fixed

Affected products

ProductAffected versionsFixed in
org.springframework.boot/spring-boot-elasticsearch(Maven) >= 4.0.0, < 4.0.6 4.0.6
org.springframework.boot/spring-boot-elasticsearch(Maven) = 4.0.0 No fix listed
org.springframework.boot/spring-boot-elasticsearch(Maven) = 4.0.1 No fix listed
org.springframework.boot/spring-boot-elasticsearch(Maven) = 4.0.2 No fix listed
org.springframework.boot/spring-boot-elasticsearch(Maven) = 4.0.3 No fix listed
org.springframework.boot/spring-boot-elasticsearch(Maven) = 4.0.4 No fix listed
org.springframework.boot/spring-boot-elasticsearch(Maven) = 4.0.5 No fix listed
Spring Boot >= 4.0.0, < 4.0.6 4.0.6
redhat/spring-boot(Red Hat:amq_broker:7) All versions No fix listed
redhat/spring-boot(Red Hat:amq_clients:2023) All versions No fix listed
redhat/spring-boot(Red Hat:camel_spring_boot:4) All versions No fix listed
redhat/spring-boot(Red Hat:apache_camel_hawtio:4) All versions No fix listed
redhat/spring-boot(Red Hat:optaplanner:::el6) All versions No fix listed
redhat/spring-boot(Red Hat:jboss_data_grid:8) All versions No fix listed
redhat/log4j:2/log4j(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/log4j(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/spring-boot(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/spring-boot(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/spring-boot(Red Hat:jboss_enterprise_application_platform:8) All versions No fix listed
redhat/spring-boot(Red Hat:jbosseapxp) All versions No fix listed
redhat/devspaces/openvsx-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/devspaces/pluginregistry-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/spring-boot(Red Hat:jboss_bpms:7) All versions No fix listed
redhat/spring-boot(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
VMware spring boot >= 4.0.0, < 4.0.6 4.0.6

References