GitHub Advisoryadvisory · Maven
GHSA-3qwq-q9vm-5j42 Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access
HIGH
Official page ↗
- Aliases
- CVE-2026-22739
- Ecosystem
- Maven
- Packages
- org.springframework.cloud:spring-cloud-config-server
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- Weaknesses
- CWE-22
- Reviewed
- 2026-03-26
Affected packages
• Maven org.springframework.cloud:spring-cloud-config-server: >= 4.3.0, < 4.3.2 → fixed in 4.3.2
• Maven org.springframework.cloud:spring-cloud-config-server: >= 5.0.0-M1, < 5.0.2 → fixed in 5.0.2
• Maven org.springframework.cloud:spring-cloud-config-server: >= 4.2.0, <= 4.2.4 (no fix yet)
• Maven org.springframework.cloud:spring-cloud-config-server: >= 4.0.0, <= 4.1.7 (no fix yet)
• Maven org.springframework.cloud:spring-cloud-config-server: <= 3.1.10 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2026-22739 Vulnerability in Spring Cloud when substituting the profile parameter from a request made to the Spring Cloud Config Server configured to… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-22739 advisory
- https://github.com/spring-cloud/spring-cloud-config/commit/1870f07befd5f62edcfdaea5ad82441d0fd49912 web
- https://github.com/spring-cloud/spring-cloud-config package
- https://github.com/spring-cloud/spring-cloud-config/releases/tag/v4.3.2 web
- https://github.com/spring-cloud/spring-cloud-config/releases/tag/v5.0.2 web
- https://spring.io/security/cve-2026-22739 web