Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
VulnerabilityCVE-2026-41002cvecve-2026-41002cwe-367
Published: Thu May 07 2026 (05/07/2026, 03:53:18 UTC)
Source: CVE Database V5
Vendor/Project: Spring
Product: Spring Cloud Config

Description

The 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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/07/2026, 04:37:02 UTC

Technical Analysis

The vulnerability CVE-2026-41002 affects the Spring Cloud Config Server's handling of the base directory (spring.cloud.config.server.git.basedir) used for cloning Git repositories. A TOCTOU race condition exists where the directory is checked and then used, allowing a potential attacker with high privileges to exploit the timing gap. Affected versions include 3.1.0 through 3.1.13, 4.1.0 through 4.1.9, 4.2.0 through 4.2.6, 4.3.0 through 4.3.2, and 5.0.0 through 5.0.2. Upgrades to later versions (e.g., 3.1.14+, 4.1.10+, 4.2.7+, 4.3.3+, 5.0.3+) are recommended but noted as Enterprise Support Only for some branches. The CVSS 3.1 score is 7.4 (high), reflecting local attack vector, high complexity, required privileges, no user interaction, and impacts to confidentiality and integrity with no impact on availability. No vendor advisory or patch links are provided, and remediation level is unspecified.

Potential Impact

Successful exploitation of this TOCTOU race condition could allow an attacker with high privileges on the system to compromise the confidentiality and integrity of the configuration data managed by Spring Cloud Config Server. This could lead to unauthorized access or modification of configuration information. Availability is not impacted. There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The description references upgrading to fixed versions (3.1.14+, 4.1.10+, 4.2.7+, 4.3.3+, 5.0.3+) which suggests fixes exist in those versions, but these are noted as Enterprise Support Only for some branches. Users should verify with Spring's official advisories and apply updates accordingly. Until patches are applied, limit high-privilege access to the affected systems to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
vmware
Date Reserved
2026-04-16T02:19:12.970Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69fc1390cbff5d8610732605

Added to database: 5/7/2026, 4:22:40 AM

Last enriched: 5/7/2026, 4:37:02 AM

Last updated: 5/8/2026, 10:33:21 PM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses