CVE-2026-59436: Git Repos Do Not Validate SSH Host Key When Using SSH In Spring Cloud Config Server

Published Dec 2, 2026
·
Updated

Spring 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.

Affected Software

1 affected component
VMware Spring Cloud Config Server

Event History

Dec 2, 2026
CVE Published
via MITRE·07:12 AM
Data Sourced
via MITRE·07:12 AM
DescriptionSeverity

Frequently Asked Questions

1

Which configurations are exposed?

Exposure requires a Config Server using an SSH Git backend, with the top-level repository retaining ignoreLocalSshSettings=false and at least one sub-repository setting ignoreLocalSshSettings=true. The sub-repository must also have an incomplete or unsupported host key configuration, such as setting hostKeyAlgorithm without hostKey.

2

Are default configurations affected?

Not by themselves. The issue depends on a per-sub-repository override of ignoreLocalSshSettings together with an invalid host key configuration while the top-level repository keeps its default setting.

3

How can teams identify affected repositories and reduce exposure before patching?

Review every sub-repository that sets spring.cloud.config.server.git.ignoreLocalSshSettings=true, rather than relying only on startup validation. Ensure its host key and host key algorithm settings are complete and supported so that strict host key checking remains available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203