Improper Certificate Validation in Spring Boot - CVE-2026-40992
Published: June 11, 2026
Spring Boot
Detailed vulnerability description
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 mail auto-configuration when establishing SSL/TLS connections to a mail server. A remote attacker can present a crafted server certificate to disclose sensitive information, modify data, or cause a denial of service.
Applications that explicitly enable the JavaMail server identity check property are not affected.