← CVE Intelligence

CVE-2025-36852

Build Cache Poisoning via Untrusted Pull Requests PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Niklas Portmann / Azure Based Remote Cache Plugin for Nxaffected 0
Niklas Portmann / Minio Based Remote Cache Plugin for Nxaffected 0
Niklas Portmann / Nx Remote Cache Utilitiesaffected 0
Nx / AWS S3 Remote Cache Plugin for Nxaffected 0
Nx / GCS Remote Cache Plugin for Nxaffected 0
Nx / Azure Blob Remote Cache Plugin for Nxaffected 0
Nx / Shared File System Cache Plugin for Nxaffected 0

CWE

CWE-829

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.