{"id":"CVE-2026-59436","aliases":["EUVD-2026-140918","GHSA-x538-r3p4-mjpj"],"status":"published","title":"Git Repos Do Not Validate SSH Host Key When Using SSH In Spring Cloud Config Server","description":"Spring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.\n\n When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.\n\n Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.","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.002,"percentile":0.10411,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2026-12-02T07:12:58Z","modified":"2026-12-02T19:26:40Z","products":[{"vendor":"spring","product":"spring cloud config"}],"references":[{"url":"https://spring.io/security/cve-2026-59436"},{"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-59436"},{"url":"https://github.com/advisories/GHSA-x538-r3p4-mjpj"}],"sources":{"cve":[{"id":"CVE-2026-59436","title":"Git Repos Do Not Validate SSH Host Key When Using SSH In Spring Cloud Config Server","description":"Spring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.\n\n When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.\n\n Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.","status":"published","published":"2026-12-02T07:12:58.585Z","modified":"2026-12-02T07:12:58.585Z","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"}],"updated_at":"2026-12-02T07:31:24.108495Z"}],"euvd":[{"id":"EUVD-2026-140918","description":"Spring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.\n\n When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.\n\n Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.","status":"published","published":"2026-12-02T07:12:58Z","modified":"2026-12-02T07:12:58Z","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-x538-r3p4-mjpj","title":"Spring Cloud Config Server can be configured to use property-based SSH settings for its Git...","description":"Spring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.\n\n When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.\n\n Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.","status":"published","published":"2026-12-02T09:30:35Z","modified":"2026-12-02T09:30:44Z","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-02T09:35:49.403578Z"}],"nvd":[{"id":"CVE-2026-59436","description":"Spring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.\n\n When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.\n\n Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.","status":"published","published":"2026-12-02T08:17:47.377Z","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"}],"updated_at":"2026-12-02T08:22:34.214829Z"}]}}
