Description
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.
Metrics
CVSS 3.1 5.0/10
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Boot | >= 4.0.0, < 4.0.6.1; >= 3.5.0, < 3.5.14.1; >= 3.4.0, < 3.4.17 |
References
- https://spring.io/security/cve-2026-40992Vendor Advisory
Timeline
- Published
- Jun 11, 2026
- Last modified
- Sep 4, 2026
- NVD status
- Analyzed