Path traversal in Spring Cloud Config - CVE-2026-40982
Published: May 7, 2026
Vulnerability identifier: #VU130473
CSH Severity: High
CVSS v4: 9.3 [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]
CVE-ID: CVE-2026-40982
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
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.
Affected software
Spring Cloud Config
How to mitigate CVE-2026-40982
Install security update from vendor's website.
Spring Cloud Config - addressed in versions 3.1.14, 4.1.10, 4.2.7, 4.3.3, 5.0.3