{"id":"CVE-2026-59437","aliases":["EUVD-2026-140919","GHSA-wv98-9f3c-mfvq"],"status":"published","title":"Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server","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 .\n\n Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .","severity":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.0024,"percentile":0.16162,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-295"],"published":"2026-12-02T07:13:01Z","modified":"2026-12-02T19:26:40Z","products":[{"vendor":"spring","product":"spring cloud config"}],"references":[{"url":"https://spring.io/security/cve-2026-59437"},{"url":"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\u0026version=3.1"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59437"},{"url":"https://github.com/advisories/GHSA-wv98-9f3c-mfvq"}],"sources":{"cve":[{"id":"CVE-2026-59437","title":"Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server","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 .\n\n Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .","status":"published","published":"2026-12-02T07:13:01.657Z","modified":"2026-12-02T16:00:43.835Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-295"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T16:19:54.298979Z"}],"euvd":[{"id":"EUVD-2026-140919","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 .\n\n Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .","status":"published","published":"2026-12-02T07:13:01Z","modified":"2026-12-02T16:00:43Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-12-02T12:24:35.691336Z"}],"ghsa":[{"id":"GHSA-wv98-9f3c-mfvq","title":"When Spring Cloud Config Server uses property-based SSH settings ( spring.cloud.config.server.git...","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 .\n\n Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .","status":"published","published":"2026-12-02T09:30:35Z","modified":"2026-12-02T18:32:40Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-295"],"updated_at":"2026-12-02T18:38:45.878671Z"}],"nvd":[{"id":"CVE-2026-59437","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 .\n\n Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .","status":"published","published":"2026-12-02T08:17:47.493Z","modified":"2026-12-02T19:26:40.093Z","cvss":[{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-295"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-02"},"updated_at":"2026-12-02T16:23:52.42617Z"}]}}
