Improper Certificate Validation Affecting org.springframework.cloud:spring-cloud-config-server package, versions [3.1.0,5.0.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-ORGSPRINGFRAMEWORKCLOUD-22732863
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-59436  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-config-server to version 5.0.7 or higher.

Overview

org.springframework.cloud:spring-cloud-config-server is a library that provides an HTTP resource-based API for external configuration.

Affected versions of this package are vulnerable to Improper Certificate Validation in the HostKeyAndAlgoBothExistValidator and HostKeyAlgoSupportedValidator classes, which decide whether to run based on the top-level repository's ignoreLocalSshSettings instead of the individual repository being validated. When the top-level repository keeps the default and a sub-repository sets ignoreLocalSshSettings=true with an incomplete host-key configuration, the setup passes startup validation and performs no host-key verification at runtime. This affects deployments that configure per-repository property-based SSH on sub-repositories while the top-level repository leaves ignoreLocalSshSettings at its default.

CVSS Base Scores

version 4.0
version 3.1