Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server
Summary
| CVE | CVE-2026-59437 |
|---|---|
| State | PUBLISHED |
| Assigner | vmware |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-02 08:17:47 UTC |
| Updated | 2026-12-02 19:26:40 UTC |
| 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 . |
Risk And Classification
Primary CVSS: v3.1 4.4 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Problem Types: CWE-295 | CWE-295 CWE-295 Improper Certificate Validation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 4.4 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
| 3.1 | CNA | CVSS | 4.4 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
HighUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
HighAvailability
NoneCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Spring | Spring Cloud Config | affected 5.0.0 5.0.6.1 semver | Not specified |
| CNA | Spring | Spring Cloud Config | affected 4.3.0 4.3.6 semver | Not specified |
| CNA | Spring | Spring Cloud Config | affected 4.0.0 4.2.10 semver | Not specified |
| CNA | Spring | Spring Cloud Config | affected 3.1.0 3.1.16 semver | Not specified |
| CNA | Spring | Spring Cloud Config | affected 5.0.0 5.0.7 OSS | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| nvd.nist.gov/vuln-metrics/cvss/v3-calculator | [email protected] | nvd.nist.gov | |
| spring.io/security/cve-2026-59437 | [email protected] | spring.io | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.