Skip to main content
← All vulnerabilities
CVE-2026-71476GHSA-VP3H-GHGH-JR7G

Nx: Zip-Slip in the self-hosted remote cache

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 22.7.7, 23.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • nrwl nx

    From 20.8.0 · fixed in 22.7.7; From 23.0.0 · fixed in 23.0.2

  • nxnpm

    From 20.8.0 · fixed in 22.7.7

  • @nx/s3-cachenpm

    through 5.0.7

  • @nx/gcs-cachenpm

    through 5.0.7

  • @nx/azure-cachenpm

    through 5.0.7

  • @nx/shared-fs-cachenpm

    through 5.0.7

  • @nx/powerpack-s3-cachenpm

    through 5.0.7

  • @nx/powerpack-gcs-cachenpm

    through 5.0.7

  • @nx/powerpack-azure-cachenpm

    through 5.0.7

  • @nx/powerpack-shared-fs-cachenpm

    through 5.0.7

  • nxnpm

    From 23.0.0 · fixed in 23.0.2

References 5

GitHub · nrwl/nx