CVE-2026-41004: Spring Cloud Config Server Exposes Sensitive Information in Logs

Summary

07/05/2026
Yes i
Moderate
4.4

CVE-2026-41004: Spring Cloud Config Server Logged Sensitive Information. Affects org.springframework.cloud:spring-cloud-config-server across 5 version ranges.

>= 3.1.0, <= 3.1.13 >= 4.1.0, <= 4.1.9 >= 4.2.0, <= 4.2.6 >= 4.3.0, < 4.3.3 >= 5.0.0, < 5.0.3

Fixed in 4.3.3 or 5.0.3, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Spring Cloud Config Server is a tool that provides server-side and client-side support for externalized configuration in a distributed system. It allows applications to retrieve configuration properties from a central server, making it easier to manage configurations across multiple environments. However, certain versions of this package have a vulnerability that can expose sensitive information when trace logging is enabled.

Vulnerability Detail

The vulnerability arises from the logging mechanism in Spring Cloud Config Server, where sensitive information is logged in plain text when trace logging is enabled. This can lead to unauthorized access to sensitive data, potentially compromising the security of applications that rely on this configuration server. The affected versions include Spring Cloud Config 3.1.x (3.1.0 to 3.1.13), 4.1.x (4.1.0 to 4.1.9), 4.2.x (4.2.0 to 4.2.6), 4.3.x (4.3.0 to 4.3.2), and 5.0.x (5.0.0 to 5.0.2). The CVSS score for this vulnerability is 4.4, indicating a moderate severity level.

How To Fix

Latest published version: 5.1.0-RC1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 4.3.0, < 4.3.3 4.3.3
  • >= 5.0.0, < 5.0.3 5.0.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, consider disabling trace logging in your Spring Cloud Config Server configuration until you can apply the necessary updates. This can be done by setting the logging level to a less verbose option in your application properties:

logging.level.org.springframework.cloud=INFO

Conclusion

In summary, the CVE-2026-41004 vulnerability in Spring Cloud Config Server can expose sensitive information through logging. It is crucial to upgrade to the patched versions to mitigate this risk. If immediate upgrades are not feasible, disabling trace logging serves as a temporary workaround.

See every vulnerability recorded for org.springframework.cloud:spring-cloud-config-server →

Share this vulnerability

FAQ

The vulnerability can lead to sensitive information being logged in plain text, which may be accessed by unauthorized users.

Affected versions include 3.1.0 to 3.1.13, 4.1.0 to 4.1.9, 4.2.0 to 4.2.6, 4.3.0 to 4.3.2, and 5.0.0 to 5.0.2.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate upgrading is not possible, disable trace logging as a temporary workaround to mitigate the risk.

The CVSS score for this vulnerability is 4.4, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.springframework.cloud:spring-cloud-config-server.

How To Fix

Latest published version: 5.1.0-RC1 as of 23 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • >= 4.3.0, < 4.3.3 4.3.3
  • >= 5.0.0, < 5.0.3 5.0.3

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback