Critical severity · published Jun 10, 2025
CVE-2025-36852
Build Cache Poisoning via Untrusted Pull Requests
9.4
CVSS
0.2%
EPSS
No
On KEV
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
AWS S3 Remote Cache Plugin for Nx · Nx
0 · source: vendor
AB
Azure Based Remote Cache Plugin for Nx · Niklas Portmann
0 · source: vendor
AB
Azure Blob Remote Cache Plugin for Nx · Nx
0 · source: vendor
GR
GCS Remote Cache Plugin for Nx · Nx
0 · source: vendor
MB
Minio Based Remote Cache Plugin for Nx · Niklas Portmann
0 · source: vendor
NR
Nx Remote Cache Utilities · Niklas Portmann
0 · source: vendor
SF
Shared File System Cache Plugin for Nx · Nx
0 · source: vendor
Affected product
AB
Azure Based Remote Cache Plugin for Nx
Niklas Portmann
