CVE Catalog

CVE-2026-71476

HighCVSS 8.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.58%

45th percentile - higher than 45% of all known CVEs

Summary

Vulnerability in Nx (versions 20.8.0 to 22.7.7 and 23.0.2) in the self-hosted HTTP remote cache. A malicious cache server can return a crafted tar archive that writes files outside the cache directory, potentially leading to remote code execution.

Risk Assessment

An attacker could exploit this to gain control of the machine running Nx, posing a serious threat to system integrity.

Recommendation

Update Nx to version 22.7.7 or 23.0.2 and use only trusted cache servers.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS