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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-08-06T20:07:09.019Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-vp3h-ghgh-jr7g
- Weaknesses: CWE-22, CWE-59
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- nrwl nx: >= 20.8.0, < 22.7.7; >= 23.0.0, < 23.0.2
- nx (npm): from 20.8.0 before 22.7.7; from 23.0.0 before 23.0.2
- @nx/s3-cache (npm): up to 5.0.7
- @nx/gcs-cache (npm): up to 5.0.7
- @nx/azure-cache (npm): up to 5.0.7
- @nx/shared-fs-cache (npm): up to 5.0.7
- @nx/powerpack-s3-cache (npm): up to 5.0.7
- @nx/powerpack-gcs-cache (npm): up to 5.0.7
- @nx/powerpack-azure-cache (npm): up to 5.0.7
- @nx/powerpack-shared-fs-cache (npm): up to 5.0.7

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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

- <https://github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g> (web)
- <https://github.com/nrwl/nx/pull/36116> (web)
- <https://github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309fee> (web)
- <https://github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30> (web)
- <https://github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9> (web)
- <https://github.com/nrwl/nx> (package)

## Sources

- CVE List: [CVE-2026-71476](https://www.cve.org/CVERecord?id=CVE-2026-71476), CVE Terms of Use, modified 2026-08-08
- GitHub Advisory Database: [GHSA-vp3h-ghgh-jr7g](https://github.com/advisories/GHSA-vp3h-ghgh-jr7g), CC-BY-4.0, modified 2026-08-06
- NVD: [CVE-2026-71476](https://nvd.nist.gov/vuln/detail/CVE-2026-71476), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71476 · Whole record: https://cve.day/CVE-2026-71476.json · Rebuilt by cve.day 2026-11-25T22:59:31.813Z
