CVE-2026-40982: Spring Cloud Config - Path Traversal
- Cve: CVE-2026-40982
- Name: Spring Cloud Config - Path Traversal
- 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.
- Impact: Attackers can access arbitrary files on the server, potentially exposing sensitive information.
- Remediation: Upgrade to 3.1.14, 4.1.10, 4.2.7, 4.3.3, or 5.0.3 or greater.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Epss score: 0.00727
- Epss percentile: 0.55088
- Assignee: [email protected]
- Published at: 2026-05-07T04:16:24Z
- Age in days: 201
- Modified at: 2026-10-26T19:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40982
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/xiaoqiMikko/scc-check | poc-in-github | 2026-08-05 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vmware:spring_cloud_config | >= 5.0.0, < 5.0.3; >= 4.3.0, < 4.3.3; >= 4.2.0, < 4.2.7; >= 4.1.0, < 4.1.10; >= 3.1.0, < 3.1.14 | no | nvd | /v1/products/vmware/spring_cloud_config |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| spring-cloud/spring-cloud-config | package | yes | /v1/repositories/spring-cloud/spring-cloud-config |
Index
- Repositories: 29
- Repositories high signal: 18
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-08-05
- Remote: yes
- Exposed hosts: 56
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports