CVE-2026-71476: Nx: Zip-Slip in the self-hosted remote cache
The Nx self-hosted HTTP remote cache extracts downloaded cache artifacts without constraining where files are written. A malicious — or on-path (MITM) — remote cache server can return a crafted tar archive whose entries escape the cache directory and write to arbitrary locations on the machine running Nx. This arbitrary file write can be escalated to remote code execution. The directly exploitable issue is the self-hosted HTTP remote cache.
References
- github.com/advisories/GHSA-vp3h-ghgh-jr7g
- github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309fee
- github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30
- github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9
- github.com/nrwl/nx/pull/36116
- github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g
- nvd.nist.gov/vuln/detail/CVE-2026-71476
Code Behaviors & Features
Detect and mitigate CVE-2026-71476 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →