CVEfocus › CVE database › CVE-2026-71476

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

CVSS 8.7 HighEPSS 0.9% (higher than 56% of CVEs)Published 2026-08-06Updated 2026-08-08Assigner: GitHub_M

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.

CWE-22CWE-59

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

npm has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
8Fix pending
16Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 10grafanaNot affected
Red Hat Enterprise Linux 10grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
npm library@nx/azure-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm library@nx/gcs-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm library@nx/powerpack-azure-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm library@nx/powerpack-gcs-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm library@nx/powerpack-s3-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm library@nx/powerpack-shared-fs-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm library@nx/s3-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm library@nx/shared-fs-cacheFix pendingGHSA-vp3h-ghgh-jr7g
npm librarynxFixed23.0.2GHSA-vp3h-ghgh-jr7g

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.