CVE-2026-22739
Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access
Description
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.cloud » spring-cloud-config-server | <= 3.1.10>= 4.0.0, <= 4.1.7>= 4.2.0, <= 4.2.4>= 4.3.0, < 4.3.2>= 5.0.0-M1, < 5.0.2 | 4.3.2, 5.0.2 |
Blast radius
12% of the dependent artifacts (31) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 6,580 |
| 2 hops | 5,775 |
| 3 hops | 3,798 |
| 4 hops | 172 |
| 5 hops | 20 |
Most used dependents
- org.apereo.cas » cas-server-core-util296 usages
- org.apereo.cas » cas-server-core-services280 usages
- org.apereo.cas » cas-server-core-configuration264 usages
- org.apereo.cas » cas-server-core-authentication232 usages
- org.apereo.cas » cas-server-core-web212 usages
- org.apereo.cas » cas-server-core-tickets182 usages
- org.apereo.cas » cas-server-core-webflow153 usages
- org.apereo.cas » cas-server-core135 usages
- org.apereo.cas » cas-server-core-logout126 usages
- org.apereo.cas » cas-server-core-api90 usages
- org.apereo.cas » cas-server-core-api-services88 usages
- org.apereo.cas » cas-server-core-audit61 usages
- org.apereo.cas » cas-server-support-saml-idp-core52 usages
- org.apereo.cas » cas-server-support-ldap-core51 usages
- org.apereo.cas » cas-server-support-jpa-util46 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-22739
- Webhttps://github.com/spring-cloud/spring-cloud-config/commit/1870f07befd5f62edcfdaea5ad82441d0fd49912
- Packagehttps://github.com/spring-cloud/spring-cloud-config
- Webhttps://github.com/spring-cloud/spring-cloud-config/releases/tag/v4.3.2
- Webhttps://github.com/spring-cloud/spring-cloud-config/releases/tag/v5.0.2
- Webhttps://spring.io/security/cve-2026-22739
