CVE-2026-71476 Details
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.
A path traversal vulnerability has been identified in the Nx self-hosted HTTP remote cache, affecting versions 20.8.0 prior to 22.7.7 and 23.0.2. The vulnerability allows a malicious or on-path remote cache server to craft a tar archive that, when extracted, can write files to arbitrary locations on the machine running Nx. This unauthorized file write could be escalated to remote code execution by targeting specific files, such as those used for SSH keys or Git hooks. The issue arises because the cache extraction process does not properly validate or contain file paths, allowing entries to escape the designated cache directory. As a result, files can be written to sensitive locations on the system, potentially leading to unauthorized code execution.
Upgrade to Nx version 22.7.7 or 23.0.2. For those using the deprecated self-hosted cache packages (@nx/s3-cache, @nx/gcs-cache, @nx/azure-cache, and @nx/shared-fs-cache), migrate off these packages as they are not patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No CVSS 3.x data is available for this CVE.
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 8, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |