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.
Published: 2026-03-24
Score: 8.6 High
EPSS: 13.2% Moderate
KEV: No
Impact: Unintended file access and SSRF risk
Action: Patch Immediately
AI Analysis

Impact

Spring Cloud Config Server processes profile substitution requests, mapping profile names to files in its search directories. The resolution step accepts unvalidated paths, enabling an attacker to craft a profile value that traverses directories or specifies arbitrary file paths. This allows the attacker to read host files outside the intended configuration directory, potentially exposing sensitive data. The flaw is a file path traversal vulnerability (CWE‑22) and, because the server may attempt to resolve URLs contained in the profile data, it can also facilitate server‑side request forgery attacks against internal or external resources.

Affected Systems

Versions of the Spring Cloud framework before 3.1.13, 4.1.9, 4.2.3, 4.3.2, or 5.0.2 are vulnerable when the Config Server is configured to use the native file system as its backend for profile storage. The issue does not affect configurations using other backends or later releases of these major lines.

Risk and Exploitability

The impact score of 8.6 indicates high severity. With an EPSS value below 1 percent and no current listing in the known exploited vulnerabilities catalog, the likelihood of recent exploitation is low, yet the vulnerability can be exploited remotely by sending crafted HTTP requests to the profile endpoint. No local privileges are required and the compromise is limited to the host running the configuration server, although the SSRF potential could extend damage to internal network resources.

Generated by OpenCVE AI on March 24, 2026 at 17:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a supported version: spring cloud 3.1.13 or later, 4.1.9 or later, 4.2.3 or later, 4.3.2 or later, or 5.0.2 or later.
  • If an upgrade is not possible, switch the configuration server from the native file‑system backend to another supported backend or restrict the profile substitution lookup paths.
  • Limit external exposure of the configuration server by applying network segmentation or firewall rules to block unsolicited access.
  • Monitor server logs for anomalous profile requests or unexpected file‑system activity and investigate any anomalies.

Generated by OpenCVE AI on March 24, 2026 at 17:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-3qwq-q9vm-5j42 Spring Cloud Config Server: Path Traversal via Profile Parameter Allows Arbitrary File Access
References
History

Tue, 24 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 24 Mar 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring
Vendors & Products Spring
Spring spring

Tue, 24 Mar 2026 02:30:00 +0000

Type Values Removed Values Added
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.
Title Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-03-24T14:40:53.515Z

Reserved: 2026-01-09T06:54:49.675Z

Link: CVE-2026-22739

cve-icon Vulnrichment

Updated: 2026-03-24T14:39:35.975Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-24T01:17:00.910

Modified: 2026-03-24T15:53:48.067

Link: CVE-2026-22739

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-03-25T20:40:42Z

Weaknesses