Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access
High severity
GitHub Reviewed
Published
Mar 24, 2026
to the GitHub Advisory Database
•
Updated Mar 26, 2026
Package
Affected versions
>= 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
Patched versions
4.3.2
5.0.2
Description
Published by the National Vulnerability Database
Mar 24, 2026
Published to the GitHub Advisory Database
Mar 24, 2026
Reviewed
Mar 26, 2026
Last updated
Mar 26, 2026
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