CVE-2026-40982: Path Traversal

Published May 7, 2026
·
Updated

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.

Affected Software

6 affected components
maven/org.springframework.cloud/spring-cloud-config-server>=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
VMware Spring Cloud Config>=3.1.0<3.1.14
VMware Spring Cloud Config>=4.1.0<4.1.10
VMware Spring Cloud Config>=4.2.0<4.2.7
VMware Spring Cloud Config>=4.3.0<4.3.3
VMware Spring Cloud Config>=5.0.0<5.0.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Spring Cloud Config to a version that resolves this vulnerability.

    Fixed in 3.1.14
  2. Upgrade

    Upgrade Spring Cloud Config to a version that resolves this vulnerability.

    Fixed in 4.1.10
  3. Upgrade

    Upgrade Spring Cloud Config to a version that resolves this vulnerability.

    Fixed in 4.2.7
  4. Upgrade

    Upgrade Spring Cloud Config to a version that resolves this vulnerability.

    Fixed in 4.3.3
  5. Upgrade

    Upgrade Spring Cloud Config to a version that resolves this vulnerability.

    Fixed in 5.0.3

Event History

May 7, 2026
CVE Published
via MITRE·03:49 AM
Data Sourced
via MITRE·03:49 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·05:01 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40982?

CVE-2026-40982 has been classified with a medium severity level due to its potential for directory traversal attacks.

2

How do I fix CVE-2026-40982?

To fix CVE-2026-40982, upgrade your Spring Cloud Config Server version to the latest patch that addresses this vulnerability.

3

What are the affected versions for CVE-2026-40982?

CVE-2026-40982 affects Spring Cloud Config versions from 3.1.0 to 3.1.13 and several other versions listed up to 5.0.2.

4

What kind of attack does CVE-2026-40982 allow?

CVE-2026-40982 allows a directory traversal attack that can expose sensitive files through a crafted URL.

5

Is CVE-2026-40982 resolved in recent versions?

Yes, CVE-2026-40982 is resolved in the latest releases of Spring Cloud Config Server beyond the affected versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203