CVE-2026-40992
MEDIUMMail Auto-Configuration Does Not Enable SSL Hostname Verification
Title source: cnaDescription
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 (1)
Core 1
Core References
Scores
CVSS v3
5.0
EPSS
0.0012
EPSS Percentile
2.4%
Attack Vector
ADJACENT_NETWORK
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-295
Status
published
Products (3)
Spring/Spring Boot
3.4.0 - 3.4.17
Spring/Spring Boot
3.5.0 - 3.5.15
Spring/Spring Boot
4.0.0 - 4.0.7
Published
Jun 11, 2026
Tracked Since
Jun 11, 2026