Git Repos Do Not Validate SSH Host Key When Using SSH In Spring Cloud Config Server
CVE-2026-59436Published 2 Dec 2026, 07:12 UTC
Real-world risk
0.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
4.4
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from vmware)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Spring Cloud ConfigNiche | >= 5.0.0, < 5.0.6.1; >= 4.3.0, < 4.3.6; >= 4.0.0, < 4.2.10; >= 3.1.0, < 3.1.16; >= 5.0.0, < 5.0.7 | 5.0.6.1, 4.3.6, 4.2.10, 3.1.16, 5.0.7 |
What to do
Update to a fixed version: 5.0.6.1, 4.3.6, 4.2.10, 3.1.16, 5.0.7.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
The arithmetic
- Prerequisites multiplied together0.100
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 0.1 × threat 0.850.595
- Rounded to one decimal between 0.1 and 100.6
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 0.6 (cvss fallback)
Weakness
No weakness type given.