CVE-2025-36852
Build Cache Poisoning via Untrusted Pull Requests
Also known as GHSA-rrr2-jcr8-7q3x
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Projects that depend on npm package @nx/azure-cache (<= 4.0.0)
- Anyone running Niklas Portmann Azure Based Remote Cache Plugin for Nx all versions
- Anyone running Niklas Portmann Minio Based Remote Cache Plugin for Nx all versions
- Anyone running Niklas Portmann Nx Remote Cache Utilities all versions
- Anyone running AWS S3 Remote Cache Plugin for Nx all versions
- Anyone running GCS Remote Cache Plugin for Nx all versions
- Anyone running Azure Blob Remote Cache Plugin for Nx all versions
- Anyone running Shared File System Cache Plugin for Nx all versions
Vulnerability facts
- Affected
- @nx/azure-cache <= 4.0.0
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 9.4 (v4.0, CNA)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:RedOpen in CVSS calculator
Show all 17 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- S: P
- AU: Y
- R: U
- V: C
- RE: M
- U: Red
- EPSS
- 0.44% chance of exploitation in 30 days (percentile 30, 2026-11-26)
- CWE
- CWE-829
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @nx/azure-cache | <= 4.0.0 | — | osv |
| Niklas Portmann Azure Based Remote Cache Plugin for Nx | all versions | — | cvelist |
| Niklas Portmann Minio Based Remote Cache Plugin for Nx | all versions | — | cvelist |
| Niklas Portmann Nx Remote Cache Utilities | all versions | — | cvelist |
| AWS S3 Remote Cache Plugin for Nx | all versions | — | cvelist |
| GCS Remote Cache Plugin for Nx | all versions | — | cvelist |
| Azure Blob Remote Cache Plugin for Nx | all versions | — | cvelist |
| Shared File System Cache Plugin for Nx | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-36852. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-36852.md Affected: @nx/azure-cache <= 4.0.0 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for @nx/azure-cache (npm), Niklas Portmann Azure Based Remote Cache Plugin for Nx, Niklas Portmann Minio Based Remote Cache Plugin for Nx, Niklas Portmann Nx Remote Cache Utilities, AWS S3 Remote Cache Plugin for Nx, GCS Remote Cache Plugin for Nx: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-36852 being exploited?
There is no confirmed exploitation: CVE-2025-36852 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.44% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-36852?
Critical: CVSS 9.4 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-36852?
@nx/azure-cache <= 4.0.0.
Is there a fix for CVE-2025-36852?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-36852?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.