CVE-2025-36852 Details
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.
A critical vulnerability allows contributors with pull request privileges to inject compromised artifacts from untrusted environments into trusted production environments. This issue arises in remote cache extensions for common build systems that use bucket-based remote caching, such as those relying on Amazon S3 or Google Cloud Storage. The vulnerability exploits the 'first-to-cache wins' principle, where artifacts from untrusted sources can poison the cache for trusted environments. This cache poisoning occurs during the artifact construction phase, before any security measures like encryption or checksum validation are applied, bypassing traditional security controls and leading to undetectable compromises in production.
There is no effective mitigation for this vulnerability in bucket-based remote cache solutions due to fundamental design limitations. However, if the solution allows it, cache writes from untrusted environments can be disabled, although this may significantly reduce the usefulness of the remote cache.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 10, 2025CISA-ADP
Assessed Jun 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://nx.app/files/cve-2025-06 | HeroDevs | Technical Analysis |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | HeroDevs |
Affected Products
| Product | Versions |
|---|---|
| Nx | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | HeroDevs |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2025 | New CVE Received | HeroDevs |
Volerion