Certificate validation bypassin Spring Boot.
No public exploit found; not on exploited lists.
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.
- Upgrade Spring Boot to 3.4.17, 3.5.14.1, 4.0.6.1 or later, whichever matches your release line.
- Upgrade org.springframework.boot:spring-boot-starter-mail (Maven) to 3.5.15, 4.0.7 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Apr 2026CVE ID reserved by vmware.
- 11 Jun 2026Published in the CVE List.
- 23 Jun 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Boot vulnerabilities
Same weakness: Improper certificate validation
Patchminder. CVE-2026-40992: Certificate validation bypass in Spring Boot. https://patchminder.com/cve/cve-2026-40992/ (accessed 5 December 2026).