# CVE-2026-40992: Mail Auto-Configuration Does Not Enable SSL Hostname Verification

- Severity: Medium 5.0 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-11T05:03:53.539Z
- Modified: 2026-09-04T18:05:38.580Z
- Also known as: GHSA-9wxp-w4px-32vh
- Weaknesses: CWE-295
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

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

(As written by CVE List.)

## Affected

- Spring Spring Boot: from 4.0.0 before 4.0.6.1; from 3.5.0 before 3.5.14.1; from 3.4.0 before 3.4.17
- org.springframework.boot:spring-boot-starter-mail (Maven): from 4.0.0 before 4.0.7; from 3.5.0 before 3.5.15; from 3.4.0 up to 3.4.16
- vmware spring_boot: from 3.4.0 before 3.4.17; from 3.5.0 before 3.5.14.1; from 4.0.0 before 4.0.6.1

## Every score

- vmware: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`

## 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)

## Sources

- CVE List: [CVE-2026-40992](https://www.cve.org/CVERecord?id=CVE-2026-40992), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-9wxp-w4px-32vh](https://github.com/advisories/GHSA-9wxp-w4px-32vh), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-40992](https://nvd.nist.gov/vuln/detail/CVE-2026-40992), Public domain, modified 2026-09-04

---

Page: https://cve.day/CVE-2026-40992 · Whole record: https://cve.day/CVE-2026-40992.json · Rebuilt by cve.day 2026-11-25T22:59:24.409Z
