Loading...
Skip to main content

CVE-2026-40982 — Vulnerability in...

CRITICAL

Spring Cloud Config vulnerable to Path Traversal

Published May 7, 2026Updated June 11, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published May 7, 2026 (158 days ago).
  • Last revised June 11, 2026 — 35 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.cloud:spring-cloud-config-server to 5.0.3 or later
<!-- Update pom.xml dependency version to 5.0.3 for org.springframework.cloud:spring-cloud-config-server -->
Maven
Update org.springframework.cloud:spring-cloud-config-server to 4.3.3 or later
<!-- Update pom.xml dependency version to 4.3.3 for org.springframework.cloud:spring-cloud-config-server -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.cloud:spring-cloud-config-server
maven
5.0.0, 5.0.1, 5.0.25.0.3
org.springframework.cloud:spring-cloud-config-server
maven
4.3.0, 4.3.1, 4.3.24.3.3
org.springframework.cloud:spring-cloud-config-server
maven
1.0.0.RELEASE, 1.0.1.RELEASE, 1.0.2.RELEASE, 1.0.3.RELEASE (+67 more)Range-based data available
org.springframework.cloud:spring-cloud-config-server
maven
4.1.0, 4.1.1, 4.1.2, 4.1.3 (+4 more)Range-based data available
org.springframework.cloud:spring-cloud-config-server
maven
4.2.0, 4.2.1, 4.2.2, 4.2.3 (+1 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

Frequently Asked Questions

What is CVE-2026-40982?
Spring Cloud Config vulnerable to Path Traversal This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2026-40982?
CVE-2026-40982 affects org.springframework.cloud:spring-cloud-config-server. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40982 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-6g23-24mc-hx6x

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies