CVE-2026-40982
published critical CVSS 3.1 · 9.1Spring Cloud Config: spring-cloud-config-server: Spring Cloud Config: Directory traversal allows arbitrary file access
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Cloud Config3.1.0 to < 3.1.14 · 4.1.0 to < 4.1.10 · 4.2.0 to < 4.2.7 · 4.3.0 to < 4.3.3 · 5.0.0 to < 5.0.3 · Other versions: unaffected | Affected | Not stated | vmware |
| Red Hat Enterprise Linux | 8 | log4j:2/log4j | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-cloud-config-serverRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in Spring Cloud Config. A remote attacker can exploit a directory traversal vulnerability by sending a specially crafted URL to the spring-cloud-config-server module. This allows the attacker to access arbitrary text and binary files on the system.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.2 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Cloud Config | 3.1.0 to < 3.1.14 (affected · custom)4.1.0 to < 4.1.10 (affected · custom)4.2.0 to < 4.2.7 (affected · custom)4.3.0 to < 4.3.3 (affected · custom)5.0.0 to < 5.0.3 (affected · custom)Default: unaffected | vmware · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- https://access.redhat.com/security/cve/CVE-2026-40982
- RHBZ#2467619 https://bugzilla.redhat.com/show_bug.cgi?id=2467619
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40982.json
- https://spring.io/security/cve-2026-40982
Provider assertions
3vmware · cna
redhat-SADP · adp
Spring Cloud Config: spring-cloud-config-server: Spring Cloud Config: Directory traversal allows arbitrary file access
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc7f406cf834b54f5d2a0033a5649c97f0484af0d7d09cf5d0a93f4fcdfaf85c
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record