CVE-2020-5405
MediumDirectory traversal attack in Spring Cloud Config
Published Jun 5, 2020 · Updated Jul 8, 2026 · Also known as GHSA-g86w-v5vg-9gxf
Key Facts
Patch immediately- CVE-2020-5405 is a medium-severity vulnerability (CVSS 6.5 v3.1) affecting Spring Cloud Config (Vmware), org.springframework.cloud:spring-cloud-config-server (maven).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 69% probability of exploitation in the next 30 days.
- Fixed versions are available, including org.springframework.cloud:spring-cloud-config-server 2.1.7, org.springframework.cloud:spring-cloud-config-server 2.2.2, Spring Cloud Config 2.1.7.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS (30-day exploit likelihood)
69%
Higher than 99.3% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2020-5405 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, 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 a directory traversal attack.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Spring Cloud ConfigVmware | >= 2.2 | 2.1.7 |
| org.springframework.cloud:spring-cloud-config-servermaven | >= 2.1.0 | 2.2.2 |
Patched Releases
org.springframework.cloud:spring-cloud-config-server
2.1.7, 2.2.2
Spring Cloud Config
2.1.7, 2.2.2
Timeline
Publicly disclosed
Jun 5, 2020
Last updated
Jul 8, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-23 Relative Path Traversal
References
FAQ
Common Questions.
Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module.
Affected: Spring Cloud Config (Vmware) versions >= 2.2; org.springframework.cloud:spring-cloud-config-server (maven) versions >= 2.1.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including org.springframework.cloud:spring-cloud-config-server 2.1.7, org.springframework.cloud:spring-cloud-config-server 2.2.2, Spring Cloud Config 2.1.7.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2020-5405 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo