Time-of-check Time-of-use (TOCTOU) Race Condition in Spring Cloud Config - CVE-2026-41002

 

Time-of-check Time-of-use (TOCTOU) Race Condition in Spring Cloud Config - CVE-2026-41002

Published: May 7, 2026


Vulnerability identifier: #VU130471
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-41002
CWE-ID: CWE-367
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Pivotal
Affected software:
Spring Cloud Config

Detailed vulnerability description

The vulnerability allows a local privileged user to disclose sensitive information and modify data.

The vulnerability exists due to a time-of-check time-of-use race condition in the base directory used by Spring Cloud Config Server to clone Git repositories when cloning Git repositories. A local privileged user can manipulate the base directory during the check-use window to disclose sensitive information and modify data.


How to mitigate CVE-2026-41002

Install security update from vendor's website.

Sources