{"id":"GHSA-9wxp-w4px-32vh","summary":"Spring Boot's Mail Auto-Configuration Does Not Enable SSL Hostname Verification","details":"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.\n\nAffected versions:\nSpring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16.","aliases":["CVE-2026-40992"],"modified":"2026-08-18T20:41:21.318851Z","published":"2026-06-11T09:31:55Z","database_specific":{"github_reviewed_at":"2026-08-18T20:13:38Z","nvd_published_at":"2026-06-11T07:16:27Z","cwe_ids":["CWE-295"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40992"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-boot"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40992"}],"affected":[{"package":{"name":"org.springframework.boot:spring-boot-starter-mail","ecosystem":"Maven","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-mail"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.7"}]}],"versions":["4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.0.6","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9wxp-w4px-32vh/GHSA-9wxp-w4px-32vh.json"}},{"package":{"name":"org.springframework.boot:spring-boot-starter-mail","ecosystem":"Maven","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-mail"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.5.0"},{"fixed":"3.5.15"}]}],"versions":["3.5.0","3.5.1","3.5.10","3.5.11","3.5.12","3.5.13","3.5.14","3.5.2","3.5.3","3.5.4","3.5.5","3.5.6","3.5.7","3.5.8","3.5.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 3.5.14","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9wxp-w4px-32vh/GHSA-9wxp-w4px-32vh.json"}},{"package":{"name":"org.springframework.boot:spring-boot-starter-mail","ecosystem":"Maven","purl":"pkg:maven/org.springframework.boot/spring-boot-starter-mail"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.4.0"},{"last_affected":"3.4.16"}]}],"versions":["3.4.0","3.4.1","3.4.10","3.4.11","3.4.12","3.4.13","3.4.2","3.4.3","3.4.4","3.4.5","3.4.6","3.4.7","3.4.8","3.4.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-9wxp-w4px-32vh/GHSA-9wxp-w4px-32vh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}