CVE-2026-40992

June 11, 2026, 7:16 a.m.

5.0
Medium

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.

Product(s) Impacted

Vendor Product Versions
Springproject
  • Spring Boot
  • 4.0.0-4.0.6, 3.5.0-3.5.14, 3.4.0-3.4.16

Weaknesses

Common security weaknesses mapped to this vulnerability.

CWE-295
Improper Certificate Validation
The product does not validate, or incorrectly validates, a certificate.

*CPE(s)

Affected systems and software identified for this CVE.

Type Vendor Product Version Update Edition Language Software Edition Target Software Target Hardware Other Information
a springproject spring_boot 4.0.0-4.0.6 / / / / / / /
a springproject spring_boot 3.5.0-3.5.14 / / / / / / /
a springproject spring_boot 3.4.0-3.4.16 / / / / / / /

CVSS Score

5.0 / 10

CVSS Data - 3.1

  • Attack Vector: ADJACENT_NETWORK
  • Attack Complexity: HIGH
  • Privileges Required: NONE
  • Scope: UNCHANGED
  • Confidentiality Impact: LOW
  • Integrity Impact: LOW
  • Availability Impact: LOW
  • CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

    View Vector String

Timeline

Published: June 11, 2026, 7:16 a.m.
Last Modified: June 11, 2026, 7:16 a.m.

Status : Received

CVE has been recently published to the CVE List and has been received by the NVD.

More info

*Disclaimer: Some vulnerabilities do not have an associated CPE. To enhance the data, we use AI to infer CPEs based on CVE details. This is an automated process and might not always be accurate.