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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Boot | 4.0.0 – < 4.0.6.1, 3.5.0 – < 3.5.14.1, 3.4.0 – < 3.4.17 | 4.0.6.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.boot:spring-boot-starter-mail | >= 4.0.0, < 4.0.7 | 4.0.7 | GHSA-9wxp-w4px-32vh |
| Maven | org.springframework.boot:spring-boot-starter-mail | >= 3.5.0, < 3.5.15 | 3.5.15 | GHSA-9wxp-w4px-32vh |
| Maven | org.springframework.boot:spring-boot-starter-mail | >= 3.4.0, <= 3.4.16 | — | GHSA-9wxp-w4px-32vh |
Advisories 1
- WID-SEC-2026-1883 VMware Tanzu Spring Boot: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026