← Vulnerability feed

Vulnerability record · CVE-2020-5405 · published 5 March 2020

CVE-2020-5405: Spring Cloud Config Server path traversal in config file serving

Vmware · Spring Cloud Config

Spring Cloud Config Server versions 2.2.x before 2.2.2, 2.1.x before 2.1.7, and older unsupported releases can be made to serve arbitrary configuration files via a specially crafted URL, resulting in a directory traversal. Because config servers often hold credentials and environment secrets, exposure of files outside the intended config directory is a serious confidentiality risk.

6.5 CVSS 3.1 Medium EPSS 69% · top 0.7% CWE-23 · Relative path traversalCWE-22 · Path traversal
6.5CVSS 3.1 base score, v2 4.3
69%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityThe flaw allows unauthenticated network-reachable file disclosure from a secrets-bearing service, and EPSS is very high despite no KEV listing.

What it is

Spring Cloud Config Server versions 2.2.x before 2.2.2, 2.1.x before 2.1.7, and older unsupported releases can be made to serve arbitrary configuration files via a specially crafted URL, resulting in a directory traversal. Because config servers often hold credentials and environment secrets, exposure of files outside the intended config directory is a serious confidentiality risk.

Impact

An attacker can read arbitrary files reachable by the config server process, potentially exposing configuration data, credentials, or other sensitive files on the host. The CVSS vector shows high integrity impact with no confidentiality impact recorded, which is inconsistent with a file disclosure flaw and should be treated cautiously.

Attack surface

Reachable over the network via HTTP requests to the spring-cloud-config-server module; no authentication is required per the vector, but user interaction is marked as required, which is unusual for a server-side traversal and may reflect a client-side or redirect-based path.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged beyond the vendor advisory, but EPSS is very high at roughly 0.69 (99.3rd percentile), indicating substantial predicted exploitation activity.

What to do

  • Upgrade Spring Cloud Config Server to 2.2.2, 2.1.7, or a later supported release.
  • Restrict network access to the config server so only trusted clients and networks can reach it.
  • Run the config server with least privilege and limit filesystem paths readable by its process.
  • Audit configuration repositories for secrets and rotate any credentials that may have been exposed.

Detection

  • Monitor config server access logs for URLs containing traversal sequences such as ../ or encoded variants.
  • Alert on requests for files outside the expected config directory or repository paths.
  • Review outbound or file-read behavior of the config server process for unexpected file access.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2020-5405 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2020-5410Spring Cloud Config Server path traversal exposes arbitrary filesSpring Cloud Config Server versions 2.2.x before 2.2.3, 2.1.x before 2.1.9, and older unsupported releases serve arbitrary configuration files via th…KEVEPSS 96%analysed9.8CVE-2026-47837Vmware spring cloud config missing authentication for critical function vulnerabilityMissing Authentication for Critical Function vulnerability in Spring Spring Cloud Config allows Webhook requests to Spring Cloud Config Server's /mon…EPSS 0.55%9.1CVE-2026-40982Vmware spring cloud config path traversal vulnerabilitySpring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious user, or …EPSS 0.82%8.6CVE-2026-22739Vmware spring cloud config path traversal vulnerabilityVulnerability in Spring Cloud when substituting the profile parameter from a request made to the Spring Cloud Config Server configured to the native …EPSS 1.2%8.1CVE-2026-47836Vmware spring cloud config toctou race condition vulnerabilityThe base directory (spring.cloud.config.server.svn.basedir) used by the Spring Cloud Config Server to clone SVN repositories to is susceptible to tim…EPSS 0.22%8.1CVE-2026-41002Vmware spring cloud config toctou race condition vulnerabilityThe base directory (`spring.cloud.config.server.git.basedir`) used by the Spring Cloud Config Server to clone Git repositories to is susceptible to t…EPSS 0.22%7.5CVE-2026-47894Vmware spring cloud config vulnerabilitySpring Cloud Config Server native environment repository allows exposure of configuration files outside of the configured repository path. Spring Clo…EPSS 0.49%7.5CVE-2026-40981Vmware spring cloud config insecure direct object reference vulnerabilityWhen using Google Secrets Manager as a backend for the Spring Cloud Config server a client can craft a request to the config server potentially expos…EPSS 0.48%

Source: NIST National Vulnerability Database (record CVE-2020-5405), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.