CVE-2025-36852
published critical CVSS 4.0 · 9.4Build Cache Poisoning via Untrusted Pull Requests
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Niklas Portmann | — | nx-remotecache-azureAzure Based Remote Cache Plugin for Nx · 0 · Other versions: affected | Affected | Not stated | HeroDevs |
| Niklas Portmann | — | nx-remotecache-minioMinio Based Remote Cache Plugin for Nx · 0 · Other versions: affected | Affected | Not stated | HeroDevs |
| Niklas Portmann | — | nx-remotecache-customNx Remote Cache Utilities · 0 · Other versions: affected | Affected | Not stated | HeroDevs |
| Nx | — | @nx/s3-cacheAWS S3 Remote Cache Plugin for Nx · 0 · Other versions: affected | Affected | Not stated | HeroDevs |
| Nx | — | @nx/gcs-cacheGCS Remote Cache Plugin for Nx · 0 · Other versions: affected | Affected | Not stated | HeroDevs |
| Nx | — | @nx/azure-cacheAzure Blob Remote Cache Plugin for Nx · 0 · Other versions: affected | Affected | Not stated | HeroDevs |
| Nx | — | @nx/shared-fs-cacheShared File System Cache Plugin for Nx · 0 · Other versions: affected | Affected | Not stated | HeroDevs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- HeroDevs · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:P/AU:Y/R:U/V:C/RE:M/U:Red
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Niklas Portmann | Azure Based Remote Cache Plugin for Nx | 0 (affected · semver)Default: affected | HeroDevs · cna |
| Niklas Portmann | Minio Based Remote Cache Plugin for Nx | 0 (affected · semver)Default: affected | HeroDevs · cna |
| Niklas Portmann | Nx Remote Cache Utilities | 0 (affected · semver)Default: affected | HeroDevs · cna |
| Nx | AWS S3 Remote Cache Plugin for Nx | 0 (affected · semver)Default: affected | HeroDevs · cna |
| Nx | GCS Remote Cache Plugin for Nx | 0 (affected · semver)Default: affected | HeroDevs · cna |
| Nx | Azure Blob Remote Cache Plugin for Nx | 0 (affected · semver)Default: affected | HeroDevs · cna |
| Nx | Shared File System Cache Plugin for Nx | 0 (affected · semver)Default: affected | HeroDevs · cna |
Weaknesses
1- CWE-829 CWE-829 Inclusion of Functionality from Untrusted Control Sphere
References
1Provider assertions
2HeroDevs · cna
Build Cache Poisoning via Untrusted Pull Requests
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a43f6734a2e7e2ab5160299247b51c8c7cdba594f391674c33952cc6a42ee1c6
- Ingested
- 23 Sep 2026, 08:46:10 UTC
- Source record
- Official CVE record