Directory Traversal in Spring Cloud Config Server
CVE-2026-40982 is a critical directory traversal vulnerability in the spring-cloud-config-server module of Spring Cloud Config. The flaw is caused by insufficient sanitization and validation of file paths derived from URL parameters in request-handling logic used to serve text and binary files. By sending a specially crafted HTTP request containing path traversal sequences, an attacker can cause the server to resolve and return files outside the intended directory structure. The issue affects Spring Cloud Config 3.1.0 through 3.1.13, 4.1.0 through 4.1.9, 4.2.0 through 4.2.6, 4.3.0 through 4.3.2, and 5.0.0 through 5.0.2.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A critical directory traversal vulnerability in Spring Cloud Config Server that allows attackers to access arbitrary files on the host via crafted URLs.
A directory traversal vulnerability affecting Spring Cloud Config Server.
A directory traversal vulnerability in Spring Cloud Config's spring-cloud-config-server module that can allow a remote attacker to retrieve arbitrary text and binary files via a specially crafted URL.
A critical directory traversal vulnerability in Spring Cloud Config Server that allows unauthenticated remote attackers to read arbitrary files from the underlying host via crafted HTTP requests.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.