Path traversalin the org.springframework.cloud:spring-cloud-config-server package.
Weaponized: a Nuclei exploit is public.
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.
- Upgrade Spring Cloud Config to 2.1.7, 2.2.2 or later, whichever matches your release line.
- Upgrade org.springframework.cloud:spring-cloud-config-server (Maven) to 2.1.7, 2.2.2 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 3 Jan 2020CVE ID reserved by pivotal.
- 5 Mar 2020Published in the CVE List.
- 16 Sep 2024CVE record last updated.
- 20 Aug 2025First public proof of concept on GitHub.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
Same weakness: Relative path traversal
- pivotal.io x_refsource_CONFIRM
Patchminder. CVE-2020-5405: Path traversal in the org.springframework.cloud:spring-cloud-config-server package. https://patchminder.com/cve/cve-2020-5405/ (accessed 5 December 2026).