CVE-2025-36852
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 · uneditedA critical security vulnerability exists in remote cache extensions for common build systems utilizing bucket-based remote cache (such as those using Amazon S3, Google Cloud Storage, or similar object storage) that allows any contributor with pull request privileges to inject compromised artifacts from an untrusted environment into trusted production environments without detection. The vulnerability exploits a fundamental design flaw in the "first-to-cache wins" principle, where artifacts built in untrusted environments (feature branches, pull requests) can poison the cache used by trusted environments (protected branches, production deployments). This attack bypasses all traditional security measures including encryption, access controls, and checksum validation because the poisoning occurs during the artifact construction phase, before any security measures are applied.
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 · moderate confidenceThe vulnerability exploits a race condition in bucket-based remote caches where artifacts from untrusted environments (feature branches, PRs) can be cached first under the 'first-to-cache wins' principle, then served to trusted environments (protected branches, production). This poisoning occurs before any security measures (encryption, access controls, checksums) are applied, as the compromise happens during artifact construction.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS 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
- Low
- Privileges
- Low
- Authentication
- Y
- User interaction
- None
- Scope
- P
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:Y/R:U/V:C/RE:M/U:Red
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 if bucket-based remote caching is in useReview build pipeline or CI/CD configuration files for remote cache settings that point to object storage buckets (e.g., S3, GCS, Azure Blob). Look for cache configuration sections that specify bucket URLs or remote cache providers.Affected if Remote bucket caching is enabled and artifacts from multiple environment types (feature branches, PRs, protected branches) write to the same cache namespace.
-
Verify cache namespace isolation between trusted and untrusted environmentsInspect the cache key or namespace configuration in your build system. Check whether the cache keys differentiate between build environment trust levels (e.g., branch type, branch protection status).Affected if Cache keys do not include trust-level identifiers and untrusted environments (PRs, feature branches) can write to the same cache namespace used by trusted environments (protected branches, production).
-
Confirm artifact trust validation before cachingReview build or caching logic to determine if any validation occurs to verify the build environment's trust status (protected branch, verified commit) before artifacts are written to the remote cache.Affected if No trust-level validation exists in the caching logic; artifacts are cached immediately upon completion without checking whether the source environment is trusted.
-
Check for shared cache bucket without segmentationExamine the remote cache bucket policy or access configuration to see if a single bucket serves both untrusted and trusted build pipelines without separate prefixes, folders, or access controls.Affected if A single cache bucket is used by all builds without segmentation by environment trust level.
You are affected if your build system uses bucket-based remote caching where untrusted environments (feature branches, PRs) and trusted environments (protected branches, production) share the same cache namespace without artifact trust validation.
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.
From vendor dataImplement artifact trust validation before caching - verify the build environment's trust level (e.g., protected branch vs PR) and reject caching artifacts from untrusted sources, or use separate isolated cache namespaces for untrusted vs trusted builds.
- Consultation8.0 h
- Implementation40.0 h
- Testing16.0 h
- Review / QA8.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $20,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-36852 — 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-2025-36852 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