Improper Validation of Certificate with Host Mismatch Affecting org.springframework.boot:spring-boot-autoconfigure package, versions [3.2.0,3.5.14)[4.0.0-M1,4.0.6)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKBOOT-16200231
  • published24 Apr 2026
  • disclosed23 Apr 2026
  • creditUnknown

Introduced: 23 Apr 2026

CVE-2026-40971  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade org.springframework.boot:spring-boot-autoconfigure to version 3.5.14, 4.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch when using an SSL bundle. This effectively weakens TLS by allowing connections without verifying the server identity (classic MITM risk).

CVSS Base Scores

version 4.0
version 3.1