Time-of-check Time-of-use (TOCTOU) Race Condition Affecting org.springframework.cloud:spring-cloud-config-server package, versions [,5.0.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (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 Time-of-check Time-of-use (TOCTOU) Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKCLOUD-19267449
  • published26 Aug 2026
  • disclosed20 Aug 2026
  • creditSharlong Wen

Introduced: 20 Aug 2026

NewCVE-2026-47836  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade org.springframework.cloud:spring-cloud-config-server to version 5.0.5 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 Time-of-check Time-of-use (TOCTOU) Race Condition through the spring.cloud.config.server.svn.basedir process. An attacker can gain unauthorized access to sensitive information or modify repository data by exploiting a race condition between the time of check and time of use when cloning SVN repositories.

CVSS Base Scores

version 4.0
version 3.1