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.

INFO

Published Date :

2025-06-10T19:23:33.956Z

Last Modified :

2025-06-10T21:35:37.274Z

Source :

HeroDevs
AFFECTED PRODUCTS

The following products are affected by CVE-2025-36852 vulnerability.

Vendors Products
Niklas Portmann
  • Nx-remotecache-azure
  • Nx-remotecache-custom
  • Nx-remotecache-minio
Nx
  • Azure-cache
  • Gcs-cache
  • S3-cache
  • Shared-fs-cache
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-36852.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability