CVE-2026-22739: 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.
Published Mar 24, 2026 · Updated Mar 26, 2026
Affected packages
org.springframework.cloud:spring-cloud-config-server
- Ecosystem
- Maven
- Affected
- >= 4.3.0, < 4.3.2
- Fixed in
- 4.3.2
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-config-server
org.springframework.cloud:spring-cloud-config-server
- Ecosystem
- Maven
- Affected
- >= 5.0.0-M1, < 5.0.2
- Fixed in
- 5.0.2
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-config-server
org.springframework.cloud:spring-cloud-config-server
- Ecosystem
- Maven
- Affected
- >= 4.2.0, <= 4.2.4
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-config-server
org.springframework.cloud:spring-cloud-config-server
- Ecosystem
- Maven
- Affected
- >= 4.0.0, <= 4.1.7
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-config-server
org.springframework.cloud:spring-cloud-config-server
- Ecosystem
- Maven
- Affected
- <= 3.1.10
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.springframework.cloud:spring-cloud-config-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22739
- https://spring.io/security/cve-2026-22739
- https://github.com/spring-cloud/spring-cloud-config/commit/1870f07befd5f62edcfdaea5ad82441d0fd49912
- 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://github.com/advisories/GHSA-3qwq-q9vm-5j42
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-40981
Spring Cloud Config has an Authorization Bypass Through User-Controlled Key
high7.5No fixMay 7, 2026CVE-2026-40982
Spring Cloud Config vulnerable to Path Traversal
critical9.1No fixMay 7, 2026CVE-2026-41002
Spring Cloud Config Server Susceptible To TOCTOU Attack
high7.2No fixMay 7, 2026CVE-2026-41004
Spring Cloud Config Server Logged Sensitive Information
medium4.4No fixMay 7, 2026
