CVE-2026-71476

high

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

https://github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g

https://github.com/nrwl/nx/pull/36116

https://github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9

https://github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30

https://github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309fee

Details

Source: Mitre, NVD

Published: 2026-08-06

Updated: 2026-08-06

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

CVSS v4

Base Score: 8.7

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

Severity: High