WaratekVRT Sign in

CVE-2026-40982 Spring Cloud Config

Affected softwareSpring Cloud Config
Severity9.1 Critical CVSS 3.1 2 scores
Fixed in4.3.3, 5.0.3
WeaknessPath traversal (CWE-22)
Published7 May 2026
Updated26 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 0.73% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Offline checker for Spring Cloud Config CVE-2026-40982 — tells you whether your version line has an OSS fix at all (3.1.x/4.1.x/4.2.x: it does not) 2026-08-05

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=2467619 : a Red Hat bug: the triage, which links onward to the fix

How to mitigate CVE-2026-40982

Upgrade Spring Cloud Config to a release that fixes it: 4.3.3 or 5.0.3. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.1 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.1 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N security@vmware.com Secondary published
CVSS 3.1 8.2 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N redhat-SADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.springframework.cloud:spring-cloud-config-server 0 none 3.1.13
org.springframework.cloud:spring-cloud-config-server 4.1.0 none 4.1.9
org.springframework.cloud:spring-cloud-config-server 4.2.0 none 4.2.6
org.springframework.cloud:spring-cloud-config-server 4.3.0 4.3.3 unbounded
org.springframework.cloud:spring-cloud-config-server 5.0.0 5.0.3 unbounded

Products and versions

2 products, 10 version entries
SourceVendorProductSchemeAffected versions
osv org.springframework.cloud spring-cloud-config-server generic ≤ 3.1.13 · ≥ 4.1.0 and ≤ 4.1.9 · ≥ 4.2.0 and ≤ 4.2.6 · ≥ 4.3.0 and < 4.3.3 · ≥ 5.0.0 and < 5.0.3
nvd vmware spring cloud config generic ≥ 3.1.0 and < 3.1.14 · ≥ 4.1.0 and < 4.1.10 · ≥ 4.2.0 and < 4.2.7 · ≥ 4.3.0 and < 4.3.3 · ≥ 5.0.0 and < 5.0.3

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=2467619 bugzilla
https://github.com/spring-cloud/spring-cloud-config PACKAGE
https://spring.io/security/cve-2026-40982 WEB
https://access.redhat.com/security/cve/CVE-2026-40982
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40982.json

Timeline

Published2026-05-07By the CVE Program.
NVD record modified2026-10-26NVD's own last-modified date for this record.