# CVE-2025-36852: Build Cache Poisoning via Untrusted Pull Requests

- Severity: Critical 9.4 (CVSS:4.0, scored by HeroDevs) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2025-06-10T19:23:33.956Z
- Modified: 2026-06-17T09:14:55.500Z
- Also known as: GHSA-rrr2-jcr8-7q3x
- Weaknesses: CWE-829
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- nx-remotecache-azure: 0
- nx-remotecache-minio: 0
- nx-remotecache-custom: 0
- @nx/s3-cache: 0
- @nx/gcs-cache: 0
- @nx/azure-cache: 0
- @nx/shared-fs-cache: 0
- @nx/azure-cache (npm): up to 4.0.0

## Every score

- HeroDevs: CVSS:4.0 9.4 Critical `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`
- GitHub: CVSS:4.0 Critical `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`

## References

- <https://nx.app/files/cve-2025-06> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-36852> (advisory)
- <https://github.com/nrwl/nx> (package)
- <https://nx.dev/blog/creep-vulnerability-build-cache-security> (web)
- <https://nx.dev/docs/reference/remote-cache-plugins/azure-cache/overview> (web)

## Sources

- CVE List: [CVE-2025-36852](https://www.cve.org/CVERecord?id=CVE-2025-36852), CVE Terms of Use, modified 2025-06-10
- GitHub Advisory Database: [GHSA-rrr2-jcr8-7q3x](https://github.com/advisories/GHSA-rrr2-jcr8-7q3x), CC-BY-4.0, modified 2025-10-14
- NVD: [CVE-2025-36852](https://nvd.nist.gov/vuln/detail/CVE-2025-36852), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-36852 · Whole record: https://cve.day/CVE-2025-36852.json · Rebuilt by cve.day 2026-11-25T22:58:59.064Z
