CVE-2026-40982: Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-c...
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.
Security readout for executives and security teams
Plain-English summary
Spring Cloud Config Server can be tricked into serving files outside its intended configuration paths. An unauthenticated network attacker may be able to read or alter sensitive files exposed through the service. The issue is critical because exploitation needs no user interaction and the affected component often centralizes application configuration.
Executive priority
High priority for immediate remediation. Configuration servers can expose secrets and operational settings, so compromise may affect multiple downstream applications even without service outage.
Technical view
CVE-2026-40982 is a CWE-22 directory traversal flaw in spring-cloud-config-server. A specially crafted URL can cause arbitrary text or binary files to be served. CVSS 3.1 is 9.1: network exploitable, low complexity, no privileges, no user interaction, high confidentiality and integrity impact, no availability impact stated.
Likely exposure
Exposure is likely where Spring Cloud Config Server uses affected 3.1.x, 4.1.x, 4.2.x, 4.3.x, or 5.0.x versions. The source bundle does not state that all Spring applications are affected; focus on deployments using the config server module, especially if reachable from untrusted networks.
Exploitation context
The provided sources describe unauthenticated network exploitation through a crafted URL, but do not cite public exploitation, exploit code, or CISA KEV listing. Treat internet-facing instances as urgent because the CVSS vector requires no privileges or user interaction.
Researcher notes
Evidence is strong for affected ranges, CVSS, CWE, and fixed versions from the source bundle. Evidence is incomplete for exploitation in the wild, product-specific downstream impact, and Red Hat package status beyond referenced advisories.
Mitigation direction
Upgrade 3.1.x to 3.1.14 or later where Enterprise Support is available.
Upgrade 4.1.x to 4.1.10 or later where Enterprise Support is available.
Upgrade 4.2.x to 4.2.7 or later where Enterprise Support is available.
Upgrade 4.3.x to 4.3.3 or later.
Upgrade 5.0.x to 5.0.3 or later.
Check Spring vendor guidance if a listed upgrade path is unavailable.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.