CVE-2026-40982
Spring Cloud Config Directory Traversal Vulnerability
Description
Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack. Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.
INFO
Published Date :
May 7, 2026, 4:16 a.m.
Last Modified :
May 12, 2026, 5:30 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | dcf2e128-44bd-42ed-91e8-88f912c1401d | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Upgrade Spring Cloud Config to 3.1.14 or greater.
- Upgrade Spring Cloud Config to 4.1.10 or greater.
- Upgrade Spring Cloud Config to 4.2.7 or greater.
- Upgrade Spring Cloud Config to 4.3.3 or greater.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40982.
| URL | Resource |
|---|---|
| https://spring.io/security/cve-2026-40982 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40982 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40982
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40982 vulnerability anywhere in the article.
-
CybersecurityNews
Critical Spring Vulnerabilities Expose Arbitrary Files and GCP Secrets
Spring Cloud Config provides crucial server-side and client-side support for externalized configuration in distributed systems. Recently, the Spring development team disclosed four security vulnerabil ... Read more
The following table lists the changes that have been made to the
CVE-2026-40982 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 12, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.14 *cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* versions from (including) 4.1.0 up to (excluding) 4.1.10 *cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* versions from (including) 4.2.0 up to (excluding) 4.2.7 *cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* versions from (including) 4.3.0 up to (excluding) 4.3.3 *cpe:2.3:a:vmware:spring_cloud_config:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.0.3 Added Reference Type VMware: https://spring.io/security/cve-2026-40982 Types: Vendor Advisory -
New CVE Received by [email protected]
May. 07, 2026
Action Type Old Value New Value Added Description Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack. Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N Added CWE CWE-22 Added Reference https://spring.io/security/cve-2026-40982