A AegiFlow
MEDIUMCVSS 5.0EPSS 0.1%

CVE-2026-40992

CVE-2026-40992 updated by NVD

Published
2026-06-11
Modified
2026-09-06
EPSS percentile
3%
Sources
github-advisory, nvd

Summary

Spring Boot's Mail auto-configuration does not enable hostname verification. Applications that set the relevant JavaMail property, such as spring.mail.properties.mail.smtp.ssl.checkserveridentity=true, are not affected. Affected versions: Spring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16.

Affected packages

EcosystemPackageAffected versionsFixed versions
Mavenorg.springframework.boot:spring-boot-starter-mail4.0.7, 3.5.15

Remediation: Upgrade to 4.0.7 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.