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 .

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 07:30:00 +0000

Type Values Removed Values Added
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 . Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .
Title Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-12-02T07:13:01.657Z

Reserved: 2026-07-04T18:16:34.667Z

Link: CVE-2026-59437

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-02T08:17:47.493

Modified: 2026-12-02T08:17:47.493

Link: CVE-2026-59437

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses

No weakness.