CVE-2025-36852
CVE-2025-36852 · Build Cache Poisoning via Untrusted Pull Requests
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.4 · Critical · EPSS 0.2%
- Published
- Updated
Stack: node
Affected products and versions
azure based remote cache plugin for nx
- Versions
- 0: Affected (semver)
No fix published
minio based remote cache plugin for nx
- Versions
- 0: Affected (semver)
No fix published
nx remote cache utilities
- Versions
- 0: Affected (semver)
No fix published
aws s3 remote cache plugin for nx
- Versions
- 0: Affected (semver)
No fix published
gcs remote cache plugin for nx
- Versions
- 0: Affected (semver)
No fix published
azure blob remote cache plugin for nx
- Versions
- 0: Affected (semver)
No fix published
shared file system cache plugin for nx
- Versions
- 0: Affected (semver)
No fix published
@nx/azure-cache npm
- Affected ranges
- SEMVER: ≤ 4.0.0
No fix published