CVE-2026-40992: spring spring boot Improper Certificate Validation
Vulnerability summary
CVE-2026-40992 is a medium (CVSS 5.0) Improper Certificate Validation vulnerability in spring spring boot. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.5% of scored vulnerabilities.
Timeline
- 11-06-2026PublishedVulnerability first disclosed.
- 23-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- NVDNIST5.0MediumCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.18%
Chance of exploitation in the next 30 days
Percentile
8%
Versus all other CVEs
30-day change
+0.06 pp
From 0.12% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Org.springframework.boot1 product
- spring-boot-starter-mail≥ 4.0.0, < 4.0.7 | ≥ 3.5.0, < 3.5.15 | ≥ 3.4.0, ≤ 3.4.16
Spring1 product
- spring boot≥ 4.0.0, < 4.0.6.1 | ≥ 3.5.0, < 3.5.14.1 | ≥ 3.4.0, < 3.4.17
Vmware1 product
- spring_boot≥ 3.4.0, < 3.4.17 | ≥ 3.5.0, < 3.5.14.1 | ≥ 4.0.0, < 4.0.6.1
3 vendors · 3 products