{"schemaVersion":4,"id":"CVE-2026-59437","aliases":[],"status":"published","duplicateOf":null,"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 .","dates":{"published":"2026-12-02T07:13:01.657Z","modified":"2026-12-02T16:00:43.835Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":4.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":4.4,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0024,"percentile":0.16162,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0024,"percentile":0.16162}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.002,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.0024,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.0024,"percentile":0.16162}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-295","name":"Improper Certificate Validation","description":"The product does not validate, or incorrectly validates, a certificate.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/295.html"}],"affected":[{"vendor":"spring","product":"spring cloud config","name":"Spring Cloud Config","label":"spring cloud config","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.0, < 5.0.6.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.0.6.1","endInclusive":false}},{"text":"≥ 4.3.0, < 4.3.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.3.0","startInclusive":true,"end":"4.3.6","endInclusive":false}},{"text":"≥ 4.0.0, < 4.2.10","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"4.0.0","startInclusive":true,"end":"4.2.10","endInclusive":false}},{"text":"≥ 3.1.0, < 3.1.16","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.1.0","startInclusive":true,"end":"3.1.16","endInclusive":false}},{"text":"≥ 5.0.0, < 5.0.7","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.0.0","startInclusive":true,"end":"5.0.7","endInclusive":false}}],"versionsText":"≥ 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","eol":null,"hubHref":"/vendor/spring/spring_cloud_config"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-59437","label":"spring.io/security/cve-2026-59437","hostname":"spring.io","tags":[]},{"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&version=3.1","label":"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&version=3.1","hostname":"nvd.nist.gov","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T07:13:01.657Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-02T16:00:43.835Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 4.4, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,44],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.0024,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T16:00:43.835Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T16:00:43.835Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-02T16:00:40.810Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.0024,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:48:29.845Z","stale":false,"partial":false}}