CVE-2026-22739: Spring Cloud Config Server Path Traversal Vulnerability Allows Arbitrary File Access

Summary

24/03/2026
Yes i
High
8.6

CVE-2026-22739: Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access. Affects org.springframework.cloud:spring-cloud-config-server across 5 version ranges.

< 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

Fixed in 3.1.10, 4.3.2 or 5.0.2, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Spring Cloud Config Server is a powerful tool that provides server-side and client-side support for externalized configuration in a distributed system. It allows applications to retrieve configuration from a variety of sources, including a native file system. However, this flexibility can lead to security vulnerabilities if not properly managed, particularly in how it handles user input for profile parameters.

Vulnerability Detail

The vulnerability arises from improper handling of the profile parameter in requests made to the Spring Cloud Config Server configured with a native file system backend. This flaw allows attackers to exploit path traversal techniques to access files outside the designated search directories. As a result, sensitive files may be exposed, leading to potential data breaches and unauthorized access to critical information.

How To Fix

Latest published version: 5.1.0-RC1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.1.10 3.1.10
  • >= 4.3.0, < 4.3.2 4.3.2
  • >= 5.0.0-M1, < 5.0.2 5.0.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, you can restrict access to sensitive files by configuring the server to limit the directories from which files can be served. Additionally, validate and sanitize user input for the profile parameter to prevent path traversal attacks.

Conclusion

The CVE-2026-22739 vulnerability in Spring Cloud Config Server poses a significant risk due to its potential for arbitrary file access through path traversal. It is crucial for users to update to the latest patched versions to mitigate this risk and ensure the security of their applications.

See every vulnerability recorded for org.springframework.cloud:spring-cloud-config-server →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.6, indicating a high severity level.

Affected versions include Spring Cloud Config Server from 3.1.X before 3.1.13, 4.1.X before 4.1.9, 4.2.X before 4.2.3, 4.3.X before 4.3.2, and 5.0.X before 5.0.2.

You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities. You can check your application against this vulnerability using the Vulert playground at Vulert Scanner without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized access to sensitive files, potentially resulting in data breaches and loss of confidentiality.

Yes, you can implement input validation and restrict access to sensitive directories as a temporary measure until you can apply the necessary updates.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.cloud:spring-cloud-config-server.

How To Fix

Latest published version: 5.1.0-RC1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 3.1.10 3.1.10
  • >= 4.3.0, < 4.3.2 4.3.2
  • >= 5.0.0-M1, < 5.0.2 5.0.2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback