Improper validation of certificate with host mismatch in Spring Boot - CVE-2026-40974

 

Improper validation of certificate with host mismatch in Spring Boot - CVE-2026-40974

Published: April 27, 2026


Vulnerability identifier: #VU128233
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-40974
CWE-ID: CWE-297
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vendor: Spring
Affected software:
Spring Boot

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the confidentiality, integrity, and availability of data in transit.

The vulnerability exists due to improper certificate validation in Cassandra SSL auto-configuration when establishing an SSL connection to Cassandra. A remote attacker can intercept a connection on the local network to compromise the confidentiality, integrity, and availability of data in transit.


How to mitigate CVE-2026-40974

Install security update from vendor's website.

Sources