Vulnerability · Published Aug 6, 2026 · Assigned by GitHub_M

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

High 8.7

In plain English

A high-severity path traversal in nx from nrwl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.9%top 41.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@nx/azure-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npm@nx/gcs-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npm@nx/powerpack-azure-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npm@nx/powerpack-gcs-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npm@nx/powerpack-s3-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npm@nx/powerpack-shared-fs-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npm@nx/s3-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npm@nx/shared-fs-cacheno fix listedGHSA-vp3h-ghgh-jr7g
npmnx23.0.2GHSA-vp3h-ghgh-jr7g
npmnx22.7.7GHSA-vp3h-ghgh-jr7g

Affected products (as reported)

VendorProductVersions
nrwl nx >= 20.8.0, < 22.7.7>= 23.0.0, < 23.0.2

Weakness: CWE-22, CWE-59 · 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

References