CVE-2025-36852

Build Cache Poisoning via Untrusted Pull Requests

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.

Category

9.4
CVSS
Severity: Critical
CVSS 4.0 •
EPSS 0.03%
Affected: Niklas Portmann Azure Based Remote Cache Plugin for Nx
Affected: Niklas Portmann Minio Based Remote Cache Plugin for Nx
Affected: Niklas Portmann Nx Remote Cache Utilities
Affected: Nx AWS S3 Remote Cache Plugin for Nx
Affected: Nx GCS Remote Cache Plugin for Nx
Affected: Nx Azure Blob Remote Cache Plugin for Nx
Affected: Nx Shared File System Cache Plugin for Nx
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-36852?
CVE-2025-36852 has been scored as a critical severity vulnerability.
How to fix CVE-2025-36852?
To fix CVE-2025-36852, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-36852 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-36852 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-36852?
CVE-2025-36852 affects Niklas Portmann Azure Based Remote Cache Plugin for Nx, Niklas Portmann Minio Based Remote Cache Plugin for Nx, Niklas Portmann Nx Remote Cache Utilities, Nx AWS S3 Remote Cache Plugin for Nx, Nx GCS Remote Cache Plugin for Nx, Nx Azure Blob Remote Cache Plugin for Nx, Nx Shared File System Cache Plugin for Nx.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.