# CVE-2026-59437: Man In The Middle Attack Possible When Using Git and SSH With 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-59437 · JSON: https://cvemate.com/vulnerability/CVE-2026-59437/json

## Description

```text
When Spring Cloud Config Server uses property-based SSH settings ( spring.cloud.config.server.git.ignoreLocalSshSettings=true ) for a Git repository and no spring.cloud.config.server.git.hostKey is configured, it disables strict host key checking even if spring.cloud.config.server.git.strictHostKeyChecking is true , which is the default. The server then accepts any SSH server key and never consults the configured spring.cloud.config.server.git.knownHostsFile .

 Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .
```

## 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.24%, percentile 16.162%, 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-59437>
- <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:29.845Z. 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
