A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-40982

CVE-2026-40982: Spring Cloud Config Path Traversal Flaw

CVE-2026-40982 is a path traversal vulnerability in Spring Cloud Config that enables attackers to access unauthorized files via specially crafted URLs. This article covers technical details, affected versions, and mitigation.

Published: May 7, 2026

CVE-2026-40982 Overview

CVE-2026-40982 is a directory traversal vulnerability [CWE-22] in the spring-cloud-config-server module of Spring Cloud Config. The flaw allows unauthenticated remote attackers to send specially crafted URLs that escape the intended file serving path. Successful exploitation lets attackers read arbitrary text and binary files from the host running the configuration server. Affected branches include 3.1.x, 4.1.x, 4.2.x, 4.3.x, and 5.0.x.

Critical Impact

An unauthenticated network attacker can read arbitrary files from the Spring Cloud Config Server host, exposing application secrets, credentials, and configuration data used across distributed services.

Affected Products

  • Spring Cloud Config 3.1.0 through 3.1.13 (fixed in 3.1.14, Enterprise Support Only)
  • Spring Cloud Config 4.1.0 through 4.1.9 and 4.2.0 through 4.2.6 (fixed in 4.1.10 and 4.2.7, Enterprise Support Only)
  • Spring Cloud Config 4.3.0 through 4.3.2 and 5.0.0 through 5.0.2 (fixed in 4.3.3 and 5.0.3)

Discovery Timeline

  • 2026-05-07 - CVE-2026-40982 published to NVD
  • 2026-05-07 - Last updated in NVD database

Technical Details for CVE-2026-40982

Vulnerability Analysis

Spring Cloud Config Server exposes HTTP endpoints that return configuration files to client applications. The spring-cloud-config-server module serves both text and binary resources stored in a backend repository. The server fails to fully normalize and validate path segments supplied through the request URL. An attacker can therefore craft a request containing traversal sequences that resolve to files outside the configured repository root.

Because the server commonly runs as a centralized configuration broker for microservices, the files reachable through the traversal often include application property files, certificates, and credential stores. Reading these resources can disclose database passwords, API tokens, signing keys, and infrastructure secrets used by every dependent service.

Root Cause

The root cause is improper limitation of a pathname to a restricted directory [CWE-22] in the resource serving handler. User-supplied path components are concatenated with the repository base path without canonicalizing the result and verifying it remains within the allowed root. Sequences such as .. and encoded variants pass through to the underlying file system call.

Attack Vector

Exploitation requires only network access to the config server and no authentication or user interaction. The attacker issues a single HTTP GET request containing a crafted URL that references a label, application name, or profile path with traversal characters. The server resolves the path against the local file system and returns the contents of the targeted file in the HTTP response. Servers exposed to the internet or to untrusted internal networks are directly reachable.

No verified public exploit code is available at this time. Refer to the Spring Security Advisory CVE-2026-40982 for vendor technical detail.

Detection Methods for CVE-2026-40982

Indicators of Compromise

  • HTTP requests to Spring Cloud Config Server endpoints containing .., %2e%2e, ..%2f, or other encoded traversal sequences in the path or label parameters.
  • Access log entries showing 200 responses for requests targeting unusual file extensions such as .pem, .key, .jks, /etc/passwd, or paths outside the configured repository.
  • Outbound connections from the config server host to attacker-controlled infrastructure following anomalous request bursts.

Detection Strategies

  • Inspect web server and reverse proxy logs for path traversal patterns reaching /{application}/{profile} and /{label} style endpoints exposed by spring-cloud-config-server.
  • Deploy WAF or API gateway rules that decode and normalize URLs before evaluating them against a deny list of traversal sequences.
  • Use the Singularity Platform with Storyline technology to correlate suspicious config server requests with downstream process activity and secondary credential use.

Monitoring Recommendations

  • Centralize Spring Cloud Config Server access logs into a SIEM such as Singularity Data Lake and alert on traversal signatures and high request rates from single sources.
  • Monitor file read events on the config server host for access to sensitive paths outside the Git or filesystem-backed repository directory.
  • Track authentication failures and anomalous outbound traffic from any host running spring-cloud-config-server.

How to Mitigate CVE-2026-40982

Immediate Actions Required

  • Upgrade to a fixed release immediately: 3.1.14, 4.1.10, 4.2.7, 4.3.3, or 5.0.3 according to the branch in use.
  • Restrict network exposure of the config server to trusted application hosts using firewall rules or service mesh policies.
  • Rotate any secrets, certificates, or credentials served by the config server that may have been disclosed.

Patch Information

VMware Tanzu has released fixed versions for each affected branch as documented in the Spring Security Advisory CVE-2026-40982. Fixes for 3.1.14, 4.1.10, and 4.2.7 are available through Enterprise Support only. Versions 4.3.3 and 5.0.3 are available through standard distribution channels. Update the spring-cloud-config-server dependency in your build configuration and redeploy all affected instances.

Workarounds

  • Place the config server behind an authenticated reverse proxy or API gateway that rejects URLs containing traversal sequences before they reach the application.
  • Enforce Spring Security on the config server endpoints and require client authentication for every request.
  • Run the config server process under an unprivileged service account with file system permissions restricted to the configuration repository directory.
bash
# Configuration example
# Maven dependency update for the 4.3.x branch
# pom.xml
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-config-server</artifactId>
    <version>4.3.3</version>
</dependency>

# Gradle dependency update
implementation 'org.springframework.cloud:spring-cloud-config-server:4.3.3'

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePath Traversal

  • Vendor/TechSpring Cloud Config

  • SeverityCRITICAL

  • CVSS Score9.1

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-22
  • Technical References
  • Spring Security Advisory CVE-2026-40982
  • Related CVEs
  • CVE-2026-41004: Spring Cloud Config Information Leak

  • CVE-2026-41002: Spring Cloud Config TOCTOU Vulnerability

  • CVE-2026-40981: Spring Cloud Config Info Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English