# CVE-2026-71476: Nx: Zip-Slip in the self-hosted remote cache

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.7
- **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:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-26)
- **CWE:** CWE-22, CWE-59
- **Aliases:** GHSA-vp3h-ghgh-jr7g
- **Published:** 2026-08-06T20:07:09.019Z
- **Modified:** 2026-10-24T15:10:00.190Z

## 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)

## 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

- npm `nx`: affected \>= 20.8.0, \< 22.7.7; fixed 22.7.7, 23.0.2 (osv)
- npm `@nx/s3-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- npm `@nx/gcs-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- npm `@nx/azure-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- npm `@nx/shared-fs-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- npm `@nx/powerpack-s3-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- npm `@nx/powerpack-gcs-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- npm `@nx/powerpack-azure-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- npm `@nx/powerpack-shared-fs-cache`: affected \<= 5.0.7; fixed no fix listed yet (osv)
- nrwl nx: \>= 20.8.0, \< 22.7.7; \>= 23.0.0, \< 23.0.2 (cvelist)

## Mitigation

- Upgrade nx to one of 22.7.7, 23.0.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g>
- patch: <https://github.com/nrwl/nx/pull/36116>
- patch: <https://github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309fee>
- patch: <https://github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30>
- patch: <https://github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9>
- other: <https://github.com/nrwl/nx>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-71476>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vp3h-ghgh-jr7g> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-71476> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-71476>
