Spring Cloud Config vulnerabilities
13 vulnerabilities
Known vulnerabilities in Spring Cloud Config, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
RoutineCVE-2026-59437spring · spring cloud configMan In The Middle Attack Possible When Using Git and SSH With Spring Cloud Config ServerWhen Spring Cloud Config Server uses property-based SSH settings ( spring.cloud.config.server.git.ignoreLocalSshSettings=true ) for a Git repository and no spring.cloud.config.server.git.hostKey is configured, it disables strict host key checking even if spring.cloud.config.server.git.strictHostKeyChecking is true , which is the default. The server then accepts any SSH server key and never consults the configured spring.cloud.config.server.git.knownHostsFile .
Applications are affected when they use the Config Server with a Git backend over SSH in property-based SSH mode without an explicit hostKey .CVSS4.4MediumEPSS0.24%RoutineCVE-2026-59436spring · spring cloud configGit Repos Do Not Validate SSH Host Key When Using SSH In Spring Cloud Config ServerSpring Cloud Config Server can be configured to use property-based SSH settings for its Git repositories by setting spring.cloud.config.server.git.ignoreLocalSshSettings to true . The startup validators that check the host key and host key algorithm settings decide whether to run based on the top-level repository setting instead of the setting of the individual repository being validated.
When the top-level repository keeps the default ( ignoreLocalSshSettings=false ) and a sub-repository sets ignoreLocalSshSettings=true with an incomplete or unsupported host key configuration (for example a hostKeyAlgorithm without a hostKey ), the configuration passes validation at startup. At runtime, no host key is available for that sub-repository, so strict host key checking is disabled and any SSH server key is accepted.
Applications are affected when they use the Config Server with a Git backend over SSH and have a sub-repository configured this way.CVSS4.4MediumEPSS0.20%PrioritiseCVE-2026-59435spring · spring cloud configSpring Cloud Config Server Leaks Backend Git and SVN Credentials via Property Source NamesSpring Cloud Config Server includes the full URI of its backend repository in the name of every property source it returns. When the Git or SVN repository URI contains credentials in its userinfo section, those credentials are returned in clear text in the response body of every successful configuration request.CVSS7.5HighEPSS0.24%RoutineCVE-2026-59315spring · spring cloud config +1 moreSpring Cloud Config Monitor Denial of ServiceThe Spring Cloud Config Monitor is susceptible to Denial of Service attacks via malicious payloads.
Spring Cloud Config 5.0.0 - 5.0.4
Spring Cloud Config 4.3.0 - 4.3.4
Spring Cloud Config 4.0.0 - 4.2.8
Spring Cloud Config 3.1.14 and earlierCVSS5.3MediumEPSS0.29%RoutineCVE-2026-47894spring · spring cloud config +1 moreSpring Cloud Config Server Native Environment Repository ExposureSpring Cloud Config 5.0.0 - 5.0.4
Spring Cloud Config 4.3.0 - 4.3.4
Spring Cloud Config 4.0.0 - 4.2.8
Spring Cloud Config 3.1.14 and earlierCVSS7.5HighEPSS0.32%RoutineCVE-2026-47837spring · spring cloud config +1 moreSpring Cloud Config Server Monitor Endpoint Does Not Validate Webhook RequestsMissing Authentication for Critical Function vulnerability in Spring Spring Cloud Config allows Webhook requests to Spring Cloud Config Server's /monitor endpoint are not validated.
This issue affects Spring Cloud Config: from 5.0.0 through 5.0.4, from 4.3.0 through 4.3.4, from 4.0.0 through 4.2.8, and through 3.1.14.CVSS9.8CriticalEPSS0.30%RoutineCVE-2026-47836spring · spring cloud config +1 moreSpring Cloud Config Server Susceptible To TOCTOU Attack When Using SVNThe base directory (spring.cloud.config.server.svn.basedir) used by the Spring Cloud Config Server to clone SVN repositories to is susceptible to time-of-check-time-of-use (TOCTOU) attacks.
Spring Cloud Config 5.0.0 - 5.0.4
Spring Cloud Config 4.3.0 - 4.3.4
Spring Cloud Config 4.0.0 - 4.2.8
Spring Cloud Config 3.1.14 and earlierCVSS8.1HighEPSS0.19%PrioritiseCVE-2026-40981spring · spring cloud config +2 morespring spring cloud configWhen using Google Secrets Manager as a backend for the Spring Cloud Config server a client can craft a request to the config server potentially exposing secrets from unintended GCP projects.
Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.CVSS7.5HighEPSS0.44%RoutineCVE-2026-41002spring · spring cloud config +2 morespring spring cloud configThe base directory (`spring.cloud.config.server.git.basedir`) used by the Spring Cloud Config Server to clone Git repositories to is susceptible to time-of-check-time-of-use (TOCTOU) attacks.
Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.CVSS8.1HighEPSS0.23%RoutineCVE-2026-41004spring · spring cloud config +2 morespring spring cloud configWhen enabling trace logging in Spring Cloud Config Server sensitive information was placed in plain text in the logs.
Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.CVSS4.4MediumEPSS0.17%PrioritiseCVE-2026-40982spring · spring cloud config +2 morespring spring cloud configSpring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead to a directory traversal attack.
Spring Cloud Config 3.1.x: affected from 3.1.0 through 3.1.13 (inclusive); upgrade to 3.1.14 or greater (Enterprise Support Only). Spring Cloud Config 4.1.x: affected from 4.1.0 through 4.1.9 (inclusive); upgrade to 4.1.10 or greater (Enterprise Support Only). Spring Cloud Config 4.2.x: affected from 4.2.0 through 4.2.6 (inclusive); upgrade to 4.2.7 or greater (Enterprise Support Only). Spring Cloud Config 4.3.x: affected from 4.3.0 through 4.3.2 (inclusive); upgrade to 4.3.3 or greater. Spring Cloud Config 5.0.x: affected from 5.0.0 through 5.0.2 (inclusive); upgrade to 5.0.3 or greater.CVSS9.1CriticalEPSS0.74%RoutineCVE-2025-22232spring · spring cloud configSpring Cloud Config Server May Not Use Vault Token Sent By ClientsYour application may be affected by this if the following are true:
* You have Spring Vault on the classpath of your Spring Cloud Config Server and
* You are using the X-CONFIG-TOKEN header to send a Vault token to the Spring Cloud Config Server for the Config Server to use when making requests to Vault and
* You are using the default Spring Vault SessionManager implementation LifecycleAwareSessionManager or a SessionManager implementation that persists the Vault token such as SimpleSessionManager.
In this case the SessionManager persists the first token it retrieves and will continue to use that token even if client requests to the Spring Cloud Config Server include a X-CONFIG-TOKEN header with a different value.
Affected Spring Products and Versions
Spring Cloud Config:
* 2.2.1.RELEASE - 4.2.1
Mitigation
Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s)Fix versionAvailability4.2.x4.2.2OSS4.1.x4.1.6OSS4.0.x4.0.10Commercial3.1.x3.1.10Commercial3.0.x4.1.6OSS2.2.x4.1.6OSS
NOTE: Spring Cloud Config 3.0.x and 2.2.x are no longer under open source or commercial support. Users of these versions are encouraged to upgrade to a supported version.
No other mitigation steps are necessary.CVSS5.3MediumEPSS0.32%PrioritiseCVE-2019-3799spring · spring cloud config +3 moreDirectory Traversal with spring-cloud-config-serverSpring Cloud Config, versions 2.1.x prior to 2.1.2, versions 2.0.x prior to 2.0.4, and versions 1.4.x prior to 1.4.6, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead a directory traversal attack.CVSS6.5MediumEPSS85.30%