Skip to main content
← All vulnerabilities
CVE-2026-40992GHSA-9WXP-W4PX-32VH

Mail Auto-Configuration Does Not Enable SSL Hostname Verification

Published
Last modified
published
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
None on Exploit-DB, Metasploit or GitHub
  • 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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. 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

References 1

spring.io