CVE-2025-36852

published 10 Jun 2025 · updated 10 Jun 2025

Build Cache Poisoning via Untrusted Pull Requests

9.4CriticalCVSS 9.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Niklas Portmann
NxAWS S3 Remote Cache Plugin for Nx
NxAzure Blob Remote Cache Plugin for Nx
NxGCS Remote Cache Plugin for Nx
NxShared File System Cache Plugin for Nx

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Nx, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-36852 severity on Zeptric[![CVE-2025-36852](https://zeptric.io/badge/cve/CVE-2025-36852.svg)](https://zeptric.io/cve/CVE-2025-36852)