CVE-2026-40992
Mail Auto-Configuration Does Not Enable SSL Hostname Verification
CVSS Score
5.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-295 |
| Vendor | spring |
| Product | spring boot |
| Ecosystems | |
| Industries | TechnologyEnterprise |
| Published | Jun 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for spring spring boot
Be the first to know when new medium vulnerabilities affecting spring spring boot are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L Attack Vector
Adjacent
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
Affected Versions
Spring / Spring Boot
4.0.0 < 4.0.7 3.5.0 < 3.5.15 3.4.0 < 3.4.17