Skip to main content
VulnerabilityPublished Updated

CVE-2026-40982: Spring Cloud Config · Path Traversal

Affects Spring Cloud ConfigSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.1 Critical · fixed in 5.0.3 : patch Spring Cloud Config as a priority.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
9.1Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.0.3, 4.3.3, 4.2.7 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
SpringSpring Cloud ConfigAffected
  • >=5.0.0 <5.0.3
Fixed in
  • 5.0.3
SpringSpring Cloud ConfigAffected
  • >=4.3.0 <4.3.3
Fixed in
  • 4.3.3
SpringSpring Cloud ConfigAffected
  • >=4.2.0 <4.2.7
Fixed in
  • 4.2.7
SpringSpring Cloud ConfigAffected
  • >=4.1.0 <4.1.10
Fixed in
  • 4.1.10
SpringSpring Cloud ConfigAffected
  • >=3.1.0 <3.1.14
Fixed in
  • 3.1.14
Mavenorg.springframework.cloud/spring-cloud-configpkg:maven/org.springframework.cloud/spring-cloud-configOther threatsAffected
  • 3.1.0 – 5.0.0
  • >=3.1.0 <=3.1.13
  • >=4.1.0 <=4.1.9
  • >=4.2.0 <=4.2.6
  • >=4.3.0 <=4.3.2
  • >=5.0.0 <=5.0.2
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Fixed versions are available and should be applied: upgrade to 3.1.14 or later for 3.1.x, 4.1.10 or later for 4.1.x, 4.2.7 or later for 4.2.x, 4.3.3 or later for 4.3.x, and 5.0.3 or later for 5.0.x. The Red Hat advisory confirms these fixed versions. No other mitigations or temporary workarounds are indicated. Users should prioritize upgrading to the fixed releases to remediate this 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.

References

Community reviews

Loading reviews…