What’s Vulnerable › Vulnerabilities
CVE-2026-22739: Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-24 · updated 2026-09-04
- Weakness: CWE-22
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 products
- Spring Cloud Config: before 3.1.13; from 4.1.0 before 4.1.9; from 4.2.0 before 4.2.6; from 4.3.0 before 4.3.2; from 5.0.0 before 5.0.2 — fixed in 3.1.13, 4.1.9, 4.2.6, 4.3.2, 5.0.2
- 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 — fixed in 3.1.13, 4.1.9, 4.2.3, 4.3.2, 5.0.2
How to fix
Upgrade to a fixed version: Spring Cloud Config 3.1.13, 4.1.9, 4.2.6, 4.3.2; Spring Cloud 3.1.13, 4.1.9, 4.2.3, 4.3.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-22739 or the next vulnerability affects your stack