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.
References
| Link | Resource |
|---|---|
| https://spring.io/security/cve-2026-40992 |
Configurations
No configuration.
History
11 Jun 2026, 07:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-06-11 07:16
Updated : 2026-06-11 15:21
NVD link : CVE-2026-40992
Mitre link : CVE-2026-40992
CVE.ORG link : CVE-2026-40992
JSON object : View
Products Affected
No product.
CWE
CWE-295
Improper Certificate Validation
