CVE-2026-40992GHSA-9WXP-W4PX-32VH
Mail Auto-Configuration Does Not Enable SSL Hostname Verification
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.0.6.1, 3.5.14.1, 3.4.17, 4.0.7, 3.5.15
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Spring Spring Boot
From 4.0.0 · fixed in 4.0.6.1; From 3.5.0 · fixed in 3.5.14.1; From 3.4.0 · fixed in 3.4.17
- org.springframework.boot:spring-boot-starter-mailMaven
From 4.0.0 · fixed in 4.0.7
- org.springframework.boot:spring-boot-starter-mailMaven
From 3.5.0 · fixed in 3.5.15
- org.springframework.boot:spring-boot-starter-mailMaven
From 3.4.0 · through 3.4.16