CVE-2026-59437
Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server
- Severity
- medium CVSS 4.4 (v3.1)
- Affects
- Spring Cloud Config · Spring
- Weakness
- CWE-295 Improper Certificate Validation
- Published
- 2 December 2026 by vmware
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 .
Our coverage
We have not written about this one. Know why it matters? Send a tip.