CVE-2026-71476
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nxnpm | >= 20.8.0, < 22.7.7 | 22.7.7 |
@nx/s3-cachenpm | <= 5.0.7 | — |
@nx/gcs-cachenpm | <= 5.0.7 | — |
@nx/azure-cachenpm | <= 5.0.7 | — |
@nx/shared-fs-cachenpm | <= 5.0.7 | — |
@nx/powerpack-s3-cachenpm | <= 5.0.7 | — |
@nx/powerpack-gcs-cachenpm | <= 5.0.7 | — |
@nx/powerpack-azure-cachenpm | <= 5.0.7 | — |
@nx/powerpack-shared-fs-cachenpm | <= 5.0.7 | — |
nxnpm | >= 23.0.0, < 23.0.2 | 23.0.2 |
Affected products
1- Range: deprecated (CVE-2025-36852)
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-vp3h-ghgh-jr7gghsaADVISORY
- github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309feenvdWEB
- github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30nvdWEB
- github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9nvdWEB
- github.com/nrwl/nx/pull/36116nvdWEB
- github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7gnvdWEB
News mentions
0No linked articles in our index yet.