CVE-2026-40982: VMware Spring Cloud Config directory traversal in spring-cloud-config-server

CVE-2026-40982 · Severity: critical · CVSS 9.1 · Published 2026-05-07

Spring Cloud Config, a tool used to manage centralized configuration for distributed applications, contains a security flaw that allows unauthorized access to files. By sending a specially crafted web request, an attacker can bypass security restrictions to view or download sensitive text and binary files from the server's file system. This could lead to the exposure of credentials, proprietary code, or other confidential configuration data.

Technologies: org.springframework.cloud:spring-cloud-config-server (Maven). Vendors: Maven, Spring.

Quick answers

Is CVE-2026-40982 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-40982 being exploited in the wild.
How severe is CVE-2026-40982?
Critical severity, with a CVSS score of 9.1, published 7 May 2026.
Which products and versions are affected?
org.springframework.cloud:spring-cloud-config-server (Maven) ECOSYSTEM:introduced=0,last_affected=3.1.13; Spring Cloud Config Server <= 3.1.13, 4.1.0 to 4.1.9, 4.2.0 to 4.2.6, 4.3.0 to 4.3.2, 5.0.0 to 5.0.2, 3.1.0 to 3.1.13, 4.1.0 to 4.1.9, 4.2.0 to 4.2.6, 4.3.0 to 4.3.2, 5.0.0 to 5.0.2.
Is there a fix for CVE-2026-40982?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-40982 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-40982?
Check whether you run org.springframework.cloud:spring-cloud-config-server (Maven) or Spring Cloud Config Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A directory traversal vulnerability exists in the spring-cloud-config-server module of Spring Cloud Config. The flaw is caused by improper validation of user-supplied input in specially crafted URLs, allowing an unauthenticated remote attacker to navigate outside the intended configuration directories. By exploiting this, an attacker can retrieve arbitrary text or binary files from the host file system. The vulnerability affects multiple major versions, and users are advised to upgrade to versions 3.1.14, 4.1.10, 4.2.7, 4.3.3, or 5.0.3 depending on their current release branch.

Affected products

  • VMware Spring Cloud Config 3.1.0 to 3.1.13, 4.1.0 to 4.1.9, 4.2.0 to 4.2.6, 4.3.0 to 4.3.2, 5.0.0 to 5.0.2

Identifiers

  • CVE-2026-40982
  • GHSA-6g23-24mc-hx6x

Timeline

  • 2026-05-07: disclosed: Initial vulnerability report and publication
  • 2026-05-07: advisory: VMware and Red Hat published security advisories

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.