Git Repos Do Not Validate SSH Host Key When Using SSH In Spring Cloud Config Server

Summary

CVECVE-2026-59436
StatePUBLISHED
Assignervmware
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-02 08:17:47 UTC
Updated2026-12-02 19:26:40 UTC
DescriptionSpring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated. When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted. Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.

Risk And Classification

Primary CVSS: v3.1 4.4 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
3.1CNACVSS4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Spring Spring Cloud Config affected 5.0.0 5.0.6.1 semver Not specified
CNA Spring Spring Cloud Config affected 4.3.0 4.3.6 semver Not specified
CNA Spring Spring Cloud Config affected 4.0.0 4.2.10 semver Not specified
CNA Spring Spring Cloud Config affected 3.1.0 3.1.16 semver Not specified
CNA Spring Spring Cloud Config affected 5.0.0 5.0.7 OSS Not specified

References

ReferenceSourceLinkTags
nvd.nist.gov/vuln-metrics/cvss/v3-calculator [email protected] nvd.nist.gov
spring.io/security/cve-2026-59436 [email protected] spring.io
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report