CVE-2026-59437

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

Published Dec 2, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
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 .

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Spring
Spring spring Cloud Config
Vendors & Products Spring
Spring spring Cloud Config
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-295
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 2, 2026, 5:00 PM
Reserved
Jul 4, 2026, 8:16 PM
Status
Awaiting Analysis
Published
Dec 2, 2026, 8:17 AM
Modified
Dec 2, 2026, 7:26 PM