Every CVE Search/ Get API key

CVE-2020-5405

Directory Traversal with spring-cloud-config-server

6.5 MediumPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

68.5%Up 66.7 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 6.5

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.

Record
CVE-2020-5405
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-23, CWE-22
Updated
2026-11-02
CVE List No score

Directory Traversal with spring-cloud-config-server

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.

Record
CVE-2020-5405
Weakness
CWE-23
Updated
2026-11-02
EUVDEUVD-2020-0490 No score

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.

Record
EUVD-2020-0490
Updated
2026-11-03
GitHub AdvisoriesGHSA-g86w-v5vg-9gxf 6.5

Directory traversal attack in Spring Cloud Config

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.

Record
GHSA-g86w-v5vg-9gxf
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22, CWE-23
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2020-5405
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-g86w-v5vg-9gxf 6.5

Directory traversal attack in Spring Cloud Config

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.

Record
GHSA-g86w-v5vg-9gxf
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22, CWE-23
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.springframework.cloud:spring-cloud-config-server
Maven
2.1.0 up to 2.1.7
2.1.7
org.springframework.cloud:spring-cloud-config-server
Maven
2.2.0 up to 2.2.2
2.2.2
org.springframework.cloud:spring-cloud-config-server
Maven
2.1.0 up to 2.1.7, plus listed versions
2.1.0.RELEASE2.1.1.RELEASE2.1.2.RELEASE2.1.3.RELEASE2.1.4.RELEASE2.1.5.RELEASE2.1.6.RELEASE
2.1.7
org.springframework.cloud:spring-cloud-config-server
Maven
2.2.0 up to 2.2.2, plus listed versions
2.2.0.RELEASE2.2.1.RELEASE
2.2.2

Public exploits

Links only. Every CVE stores no exploit code.

History

History
RecordedChangedSources
aliases, products, publishedEUVD
first indexedCVE List, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-5405 is a medium vulnerability (CVSS 6.5) in Spring Cloud Config, published March 5, 2020. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 68.5%, the 99th percentile. Fixed in org.springframework.cloud:spring-cloud-config-server 2.1.7.

References

MoveEnter Open