Skip to main content

CVE-2026-40982 — Vulnerability in spring-cloud-config-server

CRITICAL

Spring Cloud Config vulnerable to Path Traversal

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.82%). Schedule for your next planned update.

Does your project use an affected org.springframework.cloud:spring-cloud-config-server version?

Paste your pom.xml to check it for CVE-2026-40982 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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 (203 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.springframework.cloud:spring-cloud-config-server Maven · Affected: 5.0.0, 5.0.1, 5.0.25.0.3
org.springframework.cloud:spring-cloud-config-server Maven · Affected: 4.3.0, 4.3.1, 4.3.24.3.3
org.springframework.cloud:spring-cloud-config-server Maven · Affected: 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 · Affected: 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 · Affected: 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. It has a 0.8% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.82%
EPSS percentile: 54.3

This is an above-median EPSS score — 54.3% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-6g23-24mc-hx6x

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml