Skip to content

Spring Cloud Config

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

CVE-2026-59437Published 2 Dec 2026, 07:13 UTC

Real-world risk

0.6/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

4.4

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from vmware)

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 .

Am I affected?

ProductAffected versions (from the sources)Fixed in
Spring Cloud ConfigNiche>= 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.75.0.6.1, 4.3.6, 4.2.10, 3.1.16, 5.0.7

What to do

Update to a fixed version: 5.0.6.1, 4.3.6, 4.2.10, 3.1.16, 5.0.7.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

The arithmetic
  1. Prerequisites multiplied together0.100
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 0.1 × threat 0.850.595
  4. Rounded to one decimal between 0.1 and 100.6

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 0.6 (cvss fallback)

Weakness

CWE-295

References

Get alerts for Spring Cloud Config

Free email or text alerts when a vulnerability in Spring Cloud Config reaches risk 8 or higher. Nothing else.