Description
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.
Severity (CVSS)
| Base score | 4.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| Provided by | CNA |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Cloud Config | 5.0.0 to <5.0.6.1 [affected]; 4.3.0 to <4.3.6 [affected]; 4.0.0 to <4.2.10 [affected]; 3.1.0 to <3.1.16 [affected]; 5.0.0 to <5.0.7 [affected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 02 Dec 2026 08:02 UTC.