{"cve":"CVE-2026-71476","nvd":{"published":"2026-08-06T22:18:31.603","modified":"2026-10-24T15:10:00.190","status":"Awaiting Analysis","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.","cvss_v4":{"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","score":8.7},"cvss_v3":null,"cwes":["CWE-22","CWE-59"],"references":["https://github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309fee","https://github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30","https://github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9","https://github.com/nrwl/nx/pull/36116","https://github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-71476","score":0.00865,"percentile":0.58381,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-vp3h-ghgh-jr7g","url":"https://osv.dev/vulnerability/GHSA-vp3h-ghgh-jr7g","summary":"Nx: Zip-Slip in the self-hosted remote cache","modified":"2026-08-06T20:25:59.560723Z","packages":[{"ecosystem":"npm","name":"nx","purl":"pkg:npm/nx","ranges":[">=20.8.0 <22.7.7"],"fixed":["22.7.7"]},{"ecosystem":"npm","name":"@nx/s3-cache","purl":"pkg:npm/%40nx/s3-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"@nx/gcs-cache","purl":"pkg:npm/%40nx/gcs-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"@nx/azure-cache","purl":"pkg:npm/%40nx/azure-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"@nx/shared-fs-cache","purl":"pkg:npm/%40nx/shared-fs-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"@nx/powerpack-s3-cache","purl":"pkg:npm/%40nx/powerpack-s3-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"@nx/powerpack-gcs-cache","purl":"pkg:npm/%40nx/powerpack-gcs-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"@nx/powerpack-azure-cache","purl":"pkg:npm/%40nx/powerpack-azure-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"@nx/powerpack-shared-fs-cache","purl":"pkg:npm/%40nx/powerpack-shared-fs-cache","ranges":["<=5.0.7"],"fixed":[]},{"ecosystem":"npm","name":"nx","purl":"pkg:npm/nx","ranges":[">=23.0.0 <23.0.2"],"fixed":["23.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}