VDB

CVE-2026-40982

CVE-2026-40982 PUBLISHED CVSS 9.1 CRITICAL

Spring Cloud Config vulnerable to Path Traversal

Reported by vmware · Published May 7, 2026

spring-cloud-config-server is fixed in 5.0.3, 4.3.3, 4.2.6 and 2 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.cloud:spring-cloud-config-serverMaven Central5.0.3, 4.3.3, 4.2.6, 4.1.9, 3.1.13
spring_cloud_configvmware5.0.3, 4.3.3, 4.2.7, 4.1.10, 3.1.14
Spring Cloud ConfigSpring5.0.3, 4.3.3, 4.2.7, 4.1.10, 3.1.14

Risk scores

CVSS 3.1
9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

VendorProductVersions
SpringSpring Cloud Config3.1.0, 4.1.0, 4.2.0
Red HatRed Hat JBoss Enterprise Application Platform Expansion Pack
SpringSpring Cloud Config5.0.0, 4.2.0, 4.3.0
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat JBoss Enterprise Application Platform Expansion Pack
Red HatRed Hat Enterprise Linux 8
Mavenorg.springframework.cloud:spring-cloud-config-server0, 4.1.0, 4.2.0

Timeline

  • May 6, 2026 CVE Published
  • May 7, 2026 PoC Published (3 in total, the first dated here)
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory
  • Jun 11, 2026 CVE Updated
  • Aug 6, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40982
vulnetix vdb fixes CVE-2026-40982

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40982/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›