Skip to main content
VulnerabilityPublished

CVE-2026-59437: Man In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config Server

Affects Spring Cloud ConfigSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.4 Medium · fixed in 5.0.7 : update Spring Cloud Config when convenient.

Data as of 2 Dec 2026, 07:46 UTC

CVSS 3.1 base score
4.4Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.14.4
Patch
Available – fixed in 5.0.7, 5.0.6.1, 4.3.6 +2
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
SpringSpring Cloud ConfigAffected
  • >=5.0.0 <5.0.7
Fixed in
  • 5.0.7
SpringSpring Cloud ConfigAffected
  • >=5.0.0 <5.0.6.1
Fixed in
  • 5.0.6.1
SpringSpring Cloud ConfigAffected
  • >=4.3.0 <4.3.6
Fixed in
  • 4.3.6
SpringSpring Cloud ConfigAffected
  • >=4.0.0 <4.2.10
Fixed in
  • 4.2.10
SpringSpring Cloud ConfigAffected
  • >=3.1.0 <3.1.16
Fixed in
  • 3.1.16

AI-suggested

Upgrade to one of the fixed versions: 5.0.7, 5.0.6.1, 4.3.6, 4.2.10, or 3.1.16. Alternatively, ensure that an explicit spring.cloud.config.server.git.hostKey is configured when using property-based SSH settings to enforce strict host key checking. This will prevent the acceptance of arbitrary SSH server keys and mitigate the man-in-the-middle risk.

Description

CVE-2026-59437 is a vulnerability in Spring Cloud Config Server when using property-based SSH settings for Git repositories without configuring an explicit host key. This misconfiguration disables strict host key checking, allowing the server to accept any SSH server key and bypass the known hosts file. Applications using the Config Server with a Git backend over SSH in this mode without an explicit hostKey are affected.

References

Community reviews

Loading reviews…