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.
References (5)
Core 5
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g
X_Refsource_Misc x_refsource_misc
https://github.com/nrwl/nx/pull/36116
X_Refsource_Misc x_refsource_misc
https://github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309fee
X_Refsource_Misc x_refsource_misc
https://github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30
X_Refsource_Misc x_refsource_misc
https://github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9
Scores
CVSS v4
8.7
EPSS
0.0058
EPSS Percentile
44.6%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-22
CWE-59
Status
published
Products (12)
npm/nx
20.8.0 - 22.7.7npm
npm/nx
23.0.0 - 23.0.2npm
nrwl/nx
>= 20.8.0, < 22.7.7
nrwl/nx
>= 23.0.0, < 23.0.2
nx/azure-cache
0 - 5.0.7npm
nx/gcs-cache
0 - 5.0.7npm
nx/powerpack-azure-cache
0 - 5.0.7npm
nx/powerpack-gcs-cache
0 - 5.0.7npm
nx/powerpack-s3-cache
0 - 5.0.7npm
nx/powerpack-shared-fs-cache
0 - 5.0.7npm
... and 2 more
Published
Aug 06, 2026
Tracked Since
Aug 07, 2026