Skip to main content

Spring Cloud Config CVE-2026-40982

| EUVDEUVD-2026-28246 CRITICAL
Path Traversal (CWE-22)
2026-05-07 vmware GHSA-6g23-24mc-hx6x
9.1
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing Config server
  2. Delivery
    Craft URL with path traversal payload
  3. Exploit
    Send HTTP GET request
  4. Execution
    Server processes unsanitized path
  5. Persist
    Read arbitrary files outside config directory
  6. Impact
    Exfiltrate credentials and secrets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Remote exploitation against default Spring Cloud Config server deployments with no authentication required. The spring-cloud-config-server module must be deployed and network-accessible to the attacker (typically listening on port 8888 or behind reverse proxy). No special configuration, user interaction, or authentication is needed - the CVSS vector PR:N confirms exploitation works against unauthenticated endpoints. Exploitation is limited by network reachability: servers deployed only within internal networks, behind VPN, or with IP whitelisting at firewall/load balancer layer reduce exposure. The vulnerability affects the server component specifically; Spring Cloud Config clients consuming configuration are not directly vulnerable through this CVE. File system permissions on the server may limit which files can be accessed via traversal, though configuration servers typically run with privileges sufficient to read sensitive application properties across the file system.

Impact

The CVSS 9.1 Critical score reflects genuine severity: network-accessible (AV:N), low attack complexity (AC:L), no authentication required (PR:N), no user interaction (UI:N), with high confidentiality and integrity impact (C:H/I:H). This combination means any internet-facing Spring Cloud Config server is potentially exploitable by unauthenticated attackers to read sensitive files. However, real-world risk depends heavily on deployment architecture - many organizations deploy Config servers only within internal networks or behind authentication layers not reflected in the application-layer CVSS score. The lack of EPSS data and absence from CISA KEV suggests no confirmed widespread exploitation at time of analysis, though this may reflect the CVE's recent publication rather than low exploitability. The vendor (VMware/Spring) has released patches across all five affected version branches, indicating they consider this a priority fix. Organizations with internet-facing Config servers or those accessible from untrusted network zones should treat this as urgent; those with Config servers isolated to trusted management networks can prioritize based on other compensating controls but should still patch during normal maintenance windows.

Exploit ScenarioDerived

An attacker identifies an internet-facing Spring Cloud Config server instance through port scanning or Shodan searches for common deployment patterns (typically port 8888 or behind reverse proxy). They craft HTTP requests with path traversal sequences like 'GET /../../etc/passwd' or 'GET /../../../../application.properties' to escape the intended configuration directory. Successfully exploited, the attacker retrieves sensitive files including application secrets, database credentials stored in environment-specific configuration files, cloud provider API keys, or internal network topology information from configuration metadata. With high integrity impact noted in CVSS (I:H), attackers may also manipulate served configuration files if the traversal allows write access, potentially injecting malicious properties that execute when client applications reload configuration.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 07, 2026

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files from the file system using specially crafted URLs. Affects Spring Cloud Config versions 3.1.0-3.1.13, 4.1.0-4.1.9, 4.2.0-4.2.6, 4.3.0-4.3.2, and 5.0.0-5.0.2, with patches available across all branches. The vulnerability achieves CVSS 9.1 (Critical) due to remote exploitation without authentication (AV:N/AC:L/PR:N/UI:N) and high confidentiality/integrity impact, though EPSS and KEV data are not available to confirm active exploitation status. VMware/Spring has released fixes for all affected versions.

RemediationAI

Upgrade to patched versions immediately: Spring Cloud Config 3.1.14+ (Enterprise Support only), 4.1.10+ (Enterprise Support only), 4.2.7+ (Enterprise Support only), 4.3.3+, or 5.0.3+. Vendor advisory with exact fix versions available at https://spring.io/security/cve-2026-40982. For organizations unable to patch immediately, implement network-level compensating controls: restrict Spring Cloud Config server access to trusted IP ranges via firewall rules, place servers behind VPN or bastion hosts requiring authentication, or deploy Web Application Firewall (WAF) rules to block requests containing path traversal sequences (../, encoded variants like %2e%2e%2f, and absolute path references). Note that WAF-based filtering may cause false positives if legitimate configuration file names contain these patterns and requires ongoing maintenance. The most robust mitigation is upgrading to patched versions, as path traversal vulnerabilities are difficult to comprehensively block at network layer without breaking legitimate functionality.

Affected VersionsENISA

Spring Cloud Config 3.1.0 <3.1.14
Spring Cloud Config 4.3.0 <4.3.3
Spring Cloud Config 5.0.0 <5.0.3
Spring Cloud Config 4.2.0 <4.2.7
Spring Cloud Config 4.1.0 <4.1.10

Affected Packages

maven org.springframework.cloud:spring-cloud-config-server fix: 4.3.3, 5.0.3
euvd spring_cloud_config fix: 3.1.14, 4.1.10, 4.2.7, 4.3.3, 5.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Cloud Config is a centralized configuration management service for distributed systems, commonly used in Spring Boot microservices architectures. The spring-cloud-config-server module serves configuration files (text and binary) to client applications. This vulnerability is a classic path traversal (CWE-22) flaw where insufficient validation of user-supplied input in URL paths allows attackers to navigate outside intended directory boundaries using sequences like '../' or encoded equivalents. The CPE identifier (cpe:2.3:a:spring:spring_cloud_config) confirms this is specific to the Spring Cloud Config library itself, not the broader Spring Framework. Path traversal in configuration servers is particularly severe because these systems often have access to sensitive application properties, credentials, database connection strings, and API keys stored in configuration files across the file system.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 8.2 HIGH

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

2
Patch available
May 07, 2026 - 06:16 EUVD
CVE Published
May 07, 2026 - 03:49 nvd
CRITICAL 9.1

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.springframework.cloud:spring-cloud-config-server (5 direct, 1 indirect)

Ecosystem-wide dependent count for version 4.1.0.

Executive ViewAI

Why It Matters

Spring Cloud Config Server versions 3.1.0-5.0.2 contain a critical directory traversal vulnerability enabling unauthenticated remote attackers to read arbitrary files from affected servers. Organizations deploying Spring Cloud Config in production face immediate exposure of sensitive configuration data, credentials, and application secrets. Remediation requires urgent patching across all affected version branches to prevent unauthorized information disclosure.

Business Impact: Severe
Compensating Controls

No interim mitigations substitute for patching. If immediate patching is not feasible, implement network-level access controls to restrict Spring Cloud Config Server endpoints to authorized internal networks only, disable remote access where possible, and monitor HTTP logs for suspicious URL patterns containing directory traversal sequences (../, %2e%2e/, etc.). These measures reduce risk but do not eliminate the vulnerability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 71% exploitable
Threat Intel
1
1 source
Social Media
3
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Related Vulnerabilities in Spring Cloud Config Server Path Traversal

View all 3

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

CVE-2026-40971 CRITICAL
9.1 Apr 27

Spring Boot's RabbitMQ auto-configuration omits TLS hostname verification when an SSL bundle is configured, enabling a m

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy