5

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

Analyzed
AliasesGHSA-9wxp-w4px-32vh
Published 11-06-2026Last modified 23-06-2026

Vulnerability summary

CVE-2026-40992 is a medium (CVSS 5.0) Improper Certificate Validation vulnerability in spring spring boot. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 2.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.0/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.12%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 11-06-2026
    PublishedVulnerability first disclosed.
  2. 23-06-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.12%

Chance of exploitation in the next 30 days

Percentile

2%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.12% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Org.springframework.boot1 product
  • spring-boot-starter-mail≥ 4.0.0, < 4.0.7 | ≥ 3.5.0, < 3.5.15 | ≥ 3.4.0, ≤ 3.4.16
Spring1 product
  • spring boot≥ 4.0.0, < 4.0.6.1 | ≥ 3.5.0, < 3.5.14.1 | ≥ 3.4.0, < 3.4.17
Vmware1 product
  • spring_boot≥ 3.4.0, < 3.4.17 | ≥ 3.5.0, < 3.5.14.1 | ≥ 4.0.0, < 4.0.6.1

3 vendors · 3 products

References

3 links