CVE-2025-36852
Build Cache Poisoning via Untrusted Pull Requests
- Published
- Updated
- Reserved
- Assigned by
- HeroDevs
Description
A 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| HeroDevsCNA (assigner) | 4.0 | Critical9.4 | 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/S:P/AU:Y/R:U/V:C/RE:M/U:Red |
| NVDNVD · Deferred | 4.0 | Critical9.4 | 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 |
- EPSS (exploitation in 30 days)
- 0.26% · top 82% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.4.
Weakness
Affected products
Niklas Portmann · Azure Based Remote Cache Plugin for Nx
- affected 0
Niklas Portmann · Minio Based Remote Cache Plugin for Nx
- affected 0
Niklas Portmann · Nx Remote Cache Utilities
- affected 0
Nx · AWS S3 Remote Cache Plugin for Nx
- affected 0
Nx · GCS Remote Cache Plugin for Nx
- affected 0
Nx · Azure Blob Remote Cache Plugin for Nx
- affected 0
Nx · Shared File System Cache Plugin for Nx
- affected 0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@nx/azure-cacheGHSA-rrr2-jcr8-7q3x (opens in a new tab)
References (1)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-rrr2-jcr8-7q3x (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2025-36852)Record last updated .