CVE-2026-59437: Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server
Vulnerability summary
CVE-2026-59437 is a medium (CVSS 4.4) Improper Certificate Validation vulnerability in spring spring cloud config. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.1% of scored vulnerabilities.
Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
- 02-12-2026Last modifiedVulnerability information updated.
Description
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 .
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Spring1 product
- 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
1 vendor · 1 product