CVE-2026-40992
MEDIUM 5.0CVSS 3.1Spring Boot's Mail Auto-Configuration Does Not Enable SSL Hostname Verification
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.
- Published
- 11 Jun 2026
- Last modified
- 4 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-295
- Also known as
- GHSA-9wxp-w4px-32vh
- Sources
- NVDJSONOSV GHSA-9wxp-w4px-32vhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vmware | spring_bootcpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.17 | 3.4.17 |
| NVD | vmware | spring_bootcpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* |
>= 3.5.0, < 3.5.14.1 | 3.5.14.1 |
| NVD | vmware | spring_bootcpe:2.3:a:vmware:spring_boot:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.6.1 | 4.0.6.1 |
| OSV | Maven | org.springframework.boot:spring-boot-starter-mail | >= 4.0.0, < 4.0.7 | 4.0.7 |
| OSV | Maven | org.springframework.boot:spring-boot-starter-mail | >= 3.5.0, < 3.5.15 | 3.5.15 |
| OSV | Maven | org.springframework.boot:spring-boot-starter-mail | >= 3.4.0, <= 3.4.16 |
References
- https://spring.io/security/cve-2026-40992 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40992 · ADVISORY
- https://github.com/spring-projects/spring-boot · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 11 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jun 2026)