CVE-2026-59437: Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server
Affects Spring Cloud ConfigSource CVE Database V5
Not known to be exploited · CVSS 4.4 Medium · fixed in 5.0.7 : update Spring Cloud Config when convenient.
Data as of 2 Dec 2026, 07:46 UTC
Thin evidence
One scorer or none| CNA (vmware) | CVSS 3.1 | 4.4 |
|---|
- Patch
- Available – fixed in 5.0.7, 5.0.6.1, 4.3.6 +2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| SpringSpring Cloud Config | Affected
| Fixed in
|
| SpringSpring Cloud Config | Affected
| Fixed in
|
| SpringSpring Cloud Config | Affected
| Fixed in
|
| SpringSpring Cloud Config | Affected
| Fixed in
|
| SpringSpring Cloud Config | Affected
| Fixed in
|
AI-suggested
Upgrade to one of the fixed versions: 5.0.7, 5.0.6.1, 4.3.6, 4.2.10, or 3.1.16. Alternatively, ensure that an explicit spring.cloud.config.server.git.hostKey is configured when using property-based SSH settings to enforce strict host key checking. This will prevent the acceptance of arbitrary SSH server keys and mitigate the man-in-the-middle risk.
Description
CVE-2026-59437 is a vulnerability in Spring Cloud Config Server when using property-based SSH settings for Git repositories without configuring an explicit host key. This misconfiguration disables strict host key checking, allowing the server to accept any SSH server key and bypass the known hosts file. Applications using the Config Server with a Git backend over SSH in this mode without an explicit hostKey are affected.