Path traversal in Spring Cloud Config - CVE-2026-40982

 

Path traversal in Spring Cloud Config - CVE-2026-40982

Published: May 7, 2026


Vulnerability identifier: #VU130473
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-40982
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Pivotal
Affected software:
Spring Cloud Config

Detailed vulnerability description

The vulnerability allows a remote attacker to read arbitrary files.

The vulnerability exists due to path traversal in spring-cloud-config-server when handling a specially crafted URL request. A remote attacker can send a specially crafted request to read arbitrary files.

The issue can expose arbitrary text and binary files.


How to mitigate CVE-2026-40982

Install security update from vendor's website.

Sources