Insertion of Sensitive Information into Log File Affecting org.springframework.cloud:spring-cloud-config-server package, versions [,4.3.3)[5.0.0-M1,5.0.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-16439025
  • published7 May 2026
  • disclosed6 May 2026
  • creditUnknown

Introduced: 6 May 2026

NewCVE-2026-41004  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-config-server to version 4.3.3, 5.0.3 or higher.

Overview

org.springframework.cloud:spring-cloud-config-server is a library that provides an HTTP resource-based API for external configuration.

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File through the AwsCodeCommitCredentialProvider class in the credential handling path. An attacker can recover the AWS access key and CodeCommit password by causing the provider to emit trace-level logs while it populates CredentialItem values. Those log messages expose secrets to anyone with access to application logs, allowing unauthorized use of the credentials and access to the associated CodeCommit resources.

Note: Fixes for earlier branches including 4.2.x, 4.1.x and 3.1.x are available under enterprise support.

CVSS Base Scores

version 4.0
version 3.1