# CVE-2020-5405: Directory traversal attack in Spring Cloud Config

Source: https://junglewise.ai/threats/cve-2020-5405-directory-traversal-attack-in-spring-cloud-config  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2020-06-05  
License: CC BY 4.0 with a link back

CVE-2020-5405 · Severity: low · CVSS 3.1 · Published 2020-06-05

Directory traversal attack in Spring Cloud Config

Technologies: [org.springframework.cloud:spring-cloud-config-server (Maven)](https://junglewise.ai/threats/technologies/org-springframework-cloud-spring-cloud-config-server). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2020-5405 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2020-5405 being exploited in the wild.

**How severe is CVE-2020-5405?** Low severity, with a CVSS score of 3.1, published 5 June 2020.

**Which products and versions are affected?** org.springframework.cloud:spring-cloud-config-server (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.1.7.

**Is there a fix for CVE-2020-5405?** Yes. org.springframework.cloud:spring-cloud-config-server (Maven): upgrade to 2.1.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2020-5405?** Check whether you run org.springframework.cloud:spring-cloud-config-server (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.cloud:spring-cloud-config-server (Maven): upgrade to 2.1.7 or later

  ```sh
  # set org.springframework.cloud:spring-cloud-config-server to 2.1.7 in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.cloud:spring-cloud-config-server (Maven) ECOSYSTEM:introduced=2.1.0,fixed=2.1.7

## Identifiers

- CVE-2020-5405
- GHSA-g86w-v5vg-9gxf

## Related threats

- [VMware Spring Cloud Config sensitive information disclosure in logs](https://junglewise.ai/threats/cve-2026-41004-vmware-spring-cloud-config-sensitive-information-disclosure-in)
- [VMware Spring Cloud Config TOCTOU in Git base directory](https://junglewise.ai/threats/cve-2026-41002-vmware-spring-cloud-config-toctou-in-git-base-directory)
- [VMware Spring Cloud Config directory traversal in spring-cloud-config-server](https://junglewise.ai/threats/cve-2026-40982-vmware-spring-cloud-config-directory-traversal-in-spring-cloud)
- [VMware Spring Cloud Config auth bypass in Google Secrets Manager backend](https://junglewise.ai/threats/cve-2026-40981-vmware-spring-cloud-config-auth-bypass-in-google-secrets-manager)
- [Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access](https://junglewise.ai/threats/cve-2026-22739-spring-cloud-config-server-path-traversal-via-profile-parameter)
