{"id":"CVE-2026-40992","published":"2026-06-11T05:03:53Z","modified":"2026-06-23T19:46:36Z","title":"Mail Auto-Configuration Does Not Enable SSL Hostname Verification","vendor":"Spring","product":"Spring Boot","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00124,"percentile":0.0216,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://spring.io/security/cve-2026-40992","tags":[]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.43},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Boot","versions":[">= 4.0.0, < 4.0.6.1",">= 3.5.0, < 3.5.14.1",">= 3.4.0, < 3.4.17"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-11T12:45:53.521120Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.boot:spring-boot-starter-mail","vulnerableRanges":[">=4.0.0, <4.0.7",">=3.5.0, <3.5.15",">=3.4.0, <=3.4.16"],"patched":["4.0.7","3.5.15"],"from":["GHSA-9wxp-w4px-32vh"],"provenance":"source"}],"summary":{"text":"Spring Boot's Mail auto-configuration fails to enable SSL hostname verification for mail connections, so applications that do not explicitly set the JavaMail property mail.smtp.ssl.checkserveridentity to true are exposed. An attacker positioned on an adjacent network can intercept or impersonate the mail server, which requires no privileges or user interaction but depends on the attacker being able to reach the traffic path and present a certificate that is accepted in the absence of hostname checks.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:06Z"},"euvd":{"id":"EUVD-2026-36203","exploited":false,"provenance":"source"}}