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-41004

CVE-2026-41004: Spring Cloud Config Information Leak

CVE-2026-41004 is an information disclosure vulnerability in Spring Cloud Config Server where trace logging exposes sensitive data in plain text. This article covers technical details, affected versions, and upgrades.

Published: May 7, 2026

CVE-2026-41004 Overview

CVE-2026-41004 is an information disclosure vulnerability in Spring Cloud Config Server. When trace logging is enabled, the server writes sensitive information in plain text to its log output. The flaw is classified under [CWE-532: Insertion of Sensitive Information into Log File].

The vulnerability affects multiple Spring Cloud Config branches, including the 3.1.x, 4.1.x, 4.2.x, 4.3.x, and 5.0.x release lines. Exploitation requires local access with high privileges to read log files containing the exposed data.

Critical Impact

Operators with access to Spring Cloud Config Server trace logs can read configuration secrets such as credentials, tokens, and other sensitive values intended to be protected.

Affected Products

  • Spring Cloud Config 3.1.0 through 3.1.13
  • Spring Cloud Config 4.1.0 through 4.1.9, 4.2.0 through 4.2.6, and 4.3.0 through 4.3.2
  • Spring Cloud Config 5.0.0 through 5.0.2

Discovery Timeline

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

Technical Details for CVE-2026-41004

Vulnerability Analysis

Spring Cloud Config Server centralizes externalized configuration for distributed applications. When trace-level logging is enabled, the server emits diagnostic output describing requests, responses, and internal state during configuration retrieval.

The affected versions write sensitive configuration values directly into these trace logs without redaction. Property values that are typically protected, such as database passwords, API keys, and OAuth client secrets, appear in plain text. Anyone with read access to the log files or downstream log aggregation systems can recover these secrets.

The issue is local in scope and requires high privileges, since an attacker must already have access to the host or log storage. The confidentiality impact is high because exposed configuration secrets can grant access to backing services well beyond the Config Server itself.

Root Cause

The root cause is improper handling of sensitive properties in the trace logging code path. Logging statements include serialized property maps without applying the masking logic used elsewhere in the framework, resulting in clear-text disclosure of values that should be redacted.

Attack Vector

An attacker with local access to a host running Spring Cloud Config Server, or with read access to its log output, can review trace logs after configuration requests have been processed. Secrets retrieved by client applications during normal operation are then available for collection. The attacker does not need to interact with the Config Server's HTTP interface to obtain the data.

The vulnerability cannot be triggered remotely without prior privileged access. Refer to the Spring Security Advisory CVE-2026-41004 for additional technical context.

Detection Methods for CVE-2026-41004

Indicators of Compromise

  • Spring Cloud Config Server log files containing plain-text property values such as spring.datasource.password, client-secret, or API token fields.
  • Log shipping pipelines (Fluentd, Logstash, syslog) carrying Config Server trace output to aggregation platforms where additional users have read access.
  • Configuration profiles where logging.level.org.springframework.cloud.config or related loggers are set to TRACE or DEBUG.

Detection Strategies

  • Audit running Config Server instances for the affected versions listed in the Spring advisory and confirm whether trace logging is currently enabled.
  • Scan archived log files for property keys commonly associated with secrets, including password, secret, token, and apiKey, to determine whether disclosure has already occurred.
  • Review log retention policies and access control lists on log storage to identify accounts that could have read exposed values.

Monitoring Recommendations

  • Alert on changes to Spring logging configuration that elevate Config Server loggers to TRACE level in production environments.
  • Monitor file system and SIEM access events for reads against Config Server log directories by non-administrative accounts.
  • Track outbound use of credentials known to have appeared in trace logs to detect post-exposure abuse.

How to Mitigate CVE-2026-41004

Immediate Actions Required

  • Disable trace-level logging on Spring Cloud Config Server until the upgrade is complete.
  • Rotate any credentials, tokens, or keys that may have been written to trace logs on affected versions.
  • Restrict file system and log aggregation permissions so only authorized administrators can read Config Server logs.

Patch Information

Upgrade to a fixed release per the Spring Security Advisory CVE-2026-41004: Spring Cloud Config 3.1.14 or greater (Enterprise Support Only), 4.1.10 or greater (Enterprise Support Only), 4.2.7 or greater (Enterprise Support Only), 4.3.3 or greater, and 5.0.3 or greater. After upgrading, review existing log archives and purge any historical entries that contain exposed secrets.

Workarounds

  • Set Spring Cloud Config logger levels to INFO or higher to suppress trace output that contains property values.
  • Route Config Server logs to a restricted storage location with strict access controls and short retention.
  • Use external secret managers so that sensitive values are resolved at runtime by clients rather than being returned through Config Server responses.
bash
# Configuration example: disable trace logging for Spring Cloud Config
# application.yml on the Config Server
logging:
  level:
    org.springframework.cloud.config: INFO
    org.springframework.cloud.config.server: INFO
    org.springframework.web: INFO

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechSpring Cloud Config

  • SeverityMEDIUM

  • CVSS Score4.4

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

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

  • CVE-2026-40982: Spring Cloud Config Path Traversal 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