Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access
Vulnerability in Spring Cloud when substituting the profile parameter from a request made to the Spring Cloud Config Server configured to the native file system as a backend, because it was possible to access files outside of the configured search directories.This issue affects Spring Cloud: from 3.1.X before 3.1.13, from 4.1.X before 4.1.9, from 4.2.X before 4.2.3, from 4.3.X before 4.3.2, from 5.0.X before 5.0.2.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.springframework.cloud:spring-cloud-config-server | >= 4.3.0, < 4.3.2, >= 5.0.0-M1, < 5.0.2, >= 4.2.0, <= 4.2.4, >= 4.0.0, <= 4.1.7, <= 3.1.10 | 4.3.2, 5.0.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22739
- https://github.com/spring-cloud/spring-cloud-config/commit/1870f07befd5f62edcfdaea5ad82441d0fd49912
- https://github.com/spring-cloud/spring-cloud-config
- https://github.com/spring-cloud/spring-cloud-config/releases/tag/v4.3.2
- https://github.com/spring-cloud/spring-cloud-config/releases/tag/v5.0.2
- https://spring.io/security/cve-2026-22739
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L- Weakness (CWE)
CWE-22- Platform
- Java / Kotlin (Maven)
- Package
org.springframework.cloud:spring-cloud-config-server- Disclosed
- 24.03.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-3qwq-q9vm-5j42 - CC BY 4.0
Vulnerability history: org.springframework.cloud:spring-cloud-config-server
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 05.2019 05.2026
- Without a fix
- 0
- Exploited in attacks
- 1
Severity breakdown
- Critical 1
- High 4
- Medium 3
Disclosures per year
- 2019: 1
- 2020: 2
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 5
-
Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.