Spring by VMware Spring Cloud Config
Directory Traversal with spring-cloud-config-server
Spring Cloud Config, versions 2.2.x prior to 2.2.3, versions 2.1.x prior to 2.1.9, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 2.1.0, < 2.1.9
Fixed in 2.1.9
from GitHub Security Advisory GHSA-32xf-jwmv-9hf3
- >= 2.2.0, < 2.2.3
Fixed in 2.2.3
from GitHub Security Advisory GHSA-32xf-jwmv-9hf3
Mitigation
Upgrade org.springframework.cloud:spring-cloud-config-server to 2.1.9 or later.
Upgrade org.springframework.cloud:spring-cloud-config-server to 2.2.3 or later.
Timeline
Days relative to CVE publicationFirst public PoC 29 days after publication; added to CISA KEV 1.8 years after publication. First PoC: Metasploit auxiliary: Directory Traversal in Spring Cloud Config Server (auxiliary/scanner/http/springcloud_directory_traversal) (Metasploit, 1 Jul 2020).
PoC repositories
Found on GitHub.1 PoCs · 4 pending · 1 not a PoC
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| shoucheng3/spring-cloud__spring-cloud-config_CVE-2020-5410_2-1-8-RELEASE | 17 Aug 2025 +5.2 y | 0 | PoC |
Pending 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Live-Hack-CVE/CVE-2020-5410 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| mugisyahid/ki-vuln-cve-2020-5410 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| osamahamad/CVE-2020-5410-POC | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| thelostworldFree/SpringCloud-Config-CVE-2020-5410 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| dead5nd/config-demo | 3 Jun 2020 +10 h | 0 | Not a PoC · unrelated
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit auxiliary: Directory Traversal in Spring Cloud Config Server (auxiliary/scanner/http/springcloud_directory_traversal) | 1 Jul 2020 | 14 Nov 2026 |
| nuclei template | nuclei template: Spring Cloud Config Server - Local File Inclusion | 27 Apr 2023 | 14 Nov 2026 |