CVE-2026-71476
Nx: Zip-Slip in the self-hosted remote cache
Also known as GHSA-vp3h-ghgh-jr7g
Mitigation
- Upgrade nx to one of 22.7.7, 23.0.2 (or later in the same release line).
Who should check
- Projects that depend on npm package nx (>= 20.8.0, < 22.7.7)
- Projects that depend on npm package @nx/s3-cache (<= 5.0.7)
- Projects that depend on npm package @nx/gcs-cache (<= 5.0.7)
- Projects that depend on npm package @nx/azure-cache (<= 5.0.7)
- Projects that depend on npm package @nx/shared-fs-cache (<= 5.0.7)
- Projects that depend on npm package @nx/powerpack-s3-cache (<= 5.0.7)
- Projects that depend on npm package @nx/powerpack-gcs-cache (<= 5.0.7)
- Projects that depend on npm package @nx/powerpack-azure-cache (<= 5.0.7)
Vulnerability facts
- Affected
- nx >= 20.8.0, < 22.7.7; @nx/s3-cache <= 5.0.7; @nx/gcs-cache <= 5.0.7; @nx/azure-cache <= 5.0.7; @nx/shared-fs-cache <= 5.0.7; @nx/powerpack-s3-cache <= 5.0.7; @nx/powerpack-gcs-cache <= 5.0.7; @nx/powerpack-azure-cache <= 5.0.7; @nx/powerpack-shared-fs-cache <= 5.0.7
- Fixed in
- 22.7.7, 23.0.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 8.7 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: None
- User interaction: Passive
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.86% chance of exploitation in 30 days (percentile 56, 2026-11-26)
- CWE
- CWE-22, CWE-59
- Modified
Description
Nx is a monorepo solution for TypeScript and polyglot codebases. From version 20.8.0 until 22.7.7 and 23.0.2, 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, which can be escalated to remote code execution. Nx's default local cache and Nx Cloud are not affected; only workspaces configured to use a self-hosted remote cache are affected. This issue is fixed in versions 22.7.7 and 23.0.2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm nx | >= 20.8.0, < 22.7.7 | 22.7.7, 23.0.2 | osv |
| npm @nx/s3-cache | <= 5.0.7 | — | osv |
| npm @nx/gcs-cache | <= 5.0.7 | — | osv |
| npm @nx/azure-cache | <= 5.0.7 | — | osv |
| npm @nx/shared-fs-cache | <= 5.0.7 | — | osv |
| npm @nx/powerpack-s3-cache | <= 5.0.7 | — | osv |
| npm @nx/powerpack-gcs-cache | <= 5.0.7 | — | osv |
| npm @nx/powerpack-azure-cache | <= 5.0.7 | — | osv |
| npm @nx/powerpack-shared-fs-cache | <= 5.0.7 | — | osv |
| nrwl nx | >= 20.8.0, < 22.7.7; >= 23.0.0, < 23.0.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-71476. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-71476.md Affected: nx >= 20.8.0, < 22.7.7; @nx/s3-cache <= 5.0.7; @nx/gcs-cache <= 5.0.7; @nx/azure-cache <= 5.0.7; @nx/shared-fs-cache <= 5.0.7; @nx/powerpack-s3-cache <= 5.0.7; @nx/powerpack-gcs-cache <= 5.0.7; @nx/powerpack-azure-cache <= 5.0.7; @nx/powerpack-shared-fs-cache <= 5.0.7 Fixed in: 22.7.7, 23.0.2 Steps: 1. Search this machine and project for nx (npm), @nx/s3-cache (npm), @nx/gcs-cache (npm), @nx/azure-cache (npm), @nx/shared-fs-cache (npm), @nx/powerpack-s3-cache (npm): dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
FAQ
Is CVE-2026-71476 being exploited?
There is no confirmed exploitation: CVE-2026-71476 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-71476?
High: CVSS 8.7 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-71476?
nx >= 20.8.0, < 22.7.7; @nx/s3-cache <= 5.0.7; @nx/gcs-cache <= 5.0.7; @nx/azure-cache <= 5.0.7; @nx/shared-fs-cache <= 5.0.7; @nx/powerpack-s3-cache <= 5.0.7; @nx/powerpack-gcs-cache <= 5.0.7; @nx/powerpack-azure-cache <= 5.0.7; @nx/powerpack-shared-fs-cache <= 5.0.7.
Is there a fix for CVE-2026-71476?
Yes. Fixed in 22.7.7, 23.0.2. Upgrade nx to one of 22.7.7, 23.0.2 (or later in the same release line).
How do I check if I'm affected by CVE-2026-71476?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.