CVE-2026-59437 PUBLISHED

Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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 .

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
CVSS Score: 4.4

Product Status

Vendor Spring
Product Spring Cloud Config
Versions
  • affected from 5.0.0 to 5.0.6.1 (excl.)
  • affected from 4.3.0 to 4.3.6 (excl.)
  • affected from 4.0.0 to 4.2.10 (excl.)
  • affected from 3.1.0 to 3.1.16 (excl.)
  • affected from 5.0.0 to 5.0.7 (excl.)

References