Insufficiently Protected Credentials Affecting org.springframework.cloud:spring-cloud-config-server package, versions [3.1.0,5.0.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-22732870
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditEaEa0001

Introduced: 19 Nov 2026

NewCVE-2026-59435  (opens in a new tab)
CWE-522  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-config-server to version 5.0.7 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 Insufficiently Protected Credentials in the EnvironmentCleaner class, which includes the full backend repository URI in the name of every property source it returns. When the Git or SVN URI embeds credentials in its userinfo section, those credentials appear in clear text in the response body of every successful configuration request. This affects deployments that embed credentials directly in the backend repository URI.

Workaround

This vulnerability can be avoided by removing credentials from the repository URI and supplying them through SSH keys or the separate spring.cloud.config.server.git.username and spring.cloud.config.server.git.password properties instead.

CVSS Base Scores

version 4.0
version 3.1