Skip to main content
← All vulnerabilities
CVE-2025-36852GHSA-RRR2-JCR8-7Q3X

Build Cache Poisoning via Untrusted Pull Requests

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • nx-remotecache-azure

    0

  • nx-remotecache-minio

    0

  • nx-remotecache-custom

    0

  • @nx/s3-cache

    0

  • @nx/gcs-cache

    0

  • @nx/azure-cache

    0

  • @nx/shared-fs-cache

    0

  • @nx/azure-cachenpm

    through 4.0.0

References 1

nx.app