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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59436 · JSON: https://cvemate.com/vulnerability/CVE-2026-59436/json

## Description

```text
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.
```

## Signals

- CVSS: 4.4 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.2%, percentile 10.411%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring cloud config: ≥ 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

## References

- <https://spring.io/security/cve-2026-59436>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N&version=3.1>

---

Data as of 2026-12-05T03:48:30.199Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
