CVE-2026-40992
Medium
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.
SeverityMedium
CVSS5.0
Exploit probability—
Product
Vmware Spring Boot
PublishedJun 11, 2026
First seenJun 11, 2026
Weakness typeCWE-295CWE-295
How to fix
Update
- vmware spring_boot3.4.17, 3.5.14.1, 4.0.6.1 or later
- org.springframework.boot:spring-boot-starter-mail4.0.7, 3.5.15 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vmware spring_boot | 3.4.0 ≤ v < 3.4.17, 3.5.0 ≤ v < 3.5.14.1, 4.0.0 ≤ v < 4.0.6.1 | 3.4.17, 3.5.14.1, 4.0.6.1 |
| org.springframework.boot:spring-boot-starter-mailMaven | 4.0.0 ≤ v < 4.0.7, 3.5.0 ≤ v < 3.5.15, 3.4.0 ≤ v ≤ 3.4.16 | 4.0.7, 3.5.15 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.