CVE-2026-22739 Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks

High 8.6 Published Updated

Attackers can access files outside configured directories and perform SSRF attacks when Spring Cloud Config Server uses native file system backend.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-22739?

CVE-2026-22739 is a high-severity path traversal vulnerability in Spring Cloud, published on 24 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-22

Which versions are affected by CVE-2026-22739?

10 open source packages ship an affected version, including org.springframework.cloud:spring-cloud-config-server. It affects 1 product.

PackageAffectedFixed in
org.springframework.cloud:spring-cloud-config-server MavenAll versions to 3.1.10None
org.springframework.cloud:spring-cloud-config-server MavenAll versions to 3.1.10None
org.springframework.cloud:spring-cloud-config-server MavenFrom 4.0.0 to 4.1.7None
org.springframework.cloud:spring-cloud-config-server MavenFrom 4.0.0 to 4.1.7None
org.springframework.cloud:spring-cloud-config-server MavenFrom 4.2.0 to 4.2.4None
org.springframework.cloud:spring-cloud-config-server MavenFrom 4.2.0 to 4.2.4None
4 more packages
org.springframework.cloud:spring-cloud-config-server MavenFrom 4.3.04.3.2
org.springframework.cloud:spring-cloud-config-server MavenFrom 4.3.04.3.2
org.springframework.cloud:spring-cloud-config-server MavenFrom 5.0.0-M15.0.2
org.springframework.cloud:spring-cloud-config-server MavenFrom 5.0.0-M15.0.2

Products include Vmware Spring Cloud Config.

How do I fix CVE-2026-22739?

Upgrade org.springframework.cloud:spring-cloud-config-server to a fixed version for your release line: 4.3.2 or 5.0.2.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-22739 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22739 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-3qwq-q9vm-5j42, ROOT-APP-MAVEN-CVE-2026-22739.

Is CVE-2026-22739 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free