CVE-2020-5405: Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, and older unsupported versi
CVE-2020-5405 is a medium-severity flaw (CVSS 6.5) affecting spring cloud config. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- EPSS top 1%: very likely to be exploited
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: Spring Cloud Config - Local File Inclusion
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-5405?
spring cloud config: upgrade to 2.1.7, 2.2.2. Exact commands for each OS are on this page.
Is CVE-2020-5405 being exploited?
CVE-2020-5405 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-5405 affect?
CVE-2020-5405 affects spring cloud config. Severity is medium (CVSS 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
How urgent is CVE-2020-5405?
Priority 48/100. EPSS top 1%: very likely to be exploited
Software pages
Related CVEs
- CVE-2026-40982 CRITICAL 9.1 UPGRADE Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-conf
- CVE-2026-40981 HIGH 7.5 UPGRADE When using Google Secrets Manager as a backend for the Spring Cloud Config server a client can craft a request
- CVE-2026-41002 HIGH 7.2 UPGRADE The base directory (`spring.cloud.config.server.git.basedir`) used by the Spring Cloud Config Server to clone
- CVE-2026-41004 MEDIUM 4.4 UPGRADE When enabling trace logging in Spring Cloud Config Server sensitive information was placed in plain text in th
- CVE-2026-22739 HIGH 8.6 UPGRADE Vulnerability in Spring Cloud when substituting the profile parameter from a request made to the Spring Cloud