CVE-2026-41002
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSpring Cloud Config Server's git-basedir configuration is vulnerable to TOCTOU attacks, where an attacker can manipulate the directory used for cloning Git repositories between the time it is checked and the time it is used, potentially allowing arbitrary file write or manipulation during the git clone operation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 3.1.0, < 3.1.14>= 4.1.0, < 4.1.10>= 4.2.0, < 4.2.7>= 4.3.0, < 4.3.3>= 5.0.0, < 5.0.3CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Spring Cloud Config Server installationLocate the Spring Cloud Config Server JAR file or check the application's pom.xml for spring-cloud-config-server dependency and note the version numberAffected if The installed version falls within any of these ranges: 3.1.0 to 3.1.13, 4.1.0 to 4.1.9, 4.2.0 to 4.2.6, 4.3.0 to 4.3.2, or 5.0.0 to 5.0.2
-
Verify git backend is enabledExamine the application configuration (application.yml or application.properties) for the property spring.cloud.config.server.git.uri to confirm a Git repository backend is configuredAffected if spring.cloud.config.server.git.uri is set to a Git repository URL, enabling the git backend
-
Check for basedir configurationSearch configuration files for spring.cloud.config.server.git.base-dir or spring.cloud.config.server.git.basedir properties and note the configured directory pathAffected if The base-dir or basedir property is explicitly set in the configuration
-
Inspect runtime environmentAt runtime, examine the process environment or configuration properties for spring.cloud.config.server.git.* settings to see if basedir is in useAffected if The git-basedir or basedir configuration is actively in use when the application runs
You are affected if the installed Spring Cloud Config Server version is within the vulnerable ranges AND the git backend is enabled with a basedir configuration present.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped3.1.144.1.104.2.7
Upgrade Spring Cloud Config Server to version 3.1.14+, 4.1.10+, 4.2.7+, 4.3.3+, or 5.0.3+ (or later) as appropriate for your release line. Test thoroughly in a non-production environment before deploying.
4.3.3 (or 5.0.3 if upgrading to 5.x branch)
- 1. Identify the current Spring Cloud Config Server version in use by checking your project's dependency management (e.g., pom.xml, build.gradle)
- 2. Determine which branch (3.1.x, 4.1.x, 4.2.x, 4.3.x, or 5.0.x) your current version belongs to
- 3. For 4.3.x branch: upgrade to version 4.3.3 or later by updating the spring-cloud-config-server version in your dependency management
- 4. For 5.0.x branch: upgrade to version 5.0.3 or later
- 5. For 3.1.x, 4.1.x, or 4.2.x branches: note these require Enterprise Support; consider upgrading to a newer branch (4.3.x or 5.0.x) which has publicly available fixes
- 6. After upgrading, verify the application starts successfully and git-based configuration repositories function correctly
- 7. Test the spring.cloud.config.server.git.basedir functionality to confirm the TOCTOU vulnerability is resolved
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing8.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,576.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-41002 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-41002 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data