CVE-2026-71476

Nx: Zip-Slip in the self-hosted remote cache

Published Aug 6, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Nx, a monorepo solution for TypeScript and polyglot codebases, contains a Zip‑Slip style flaw in its self‑hosted remote cache extraction logic. The program does not constrain the paths of extracted files, so a malicious or MITM remote cache server can supply a crafted tar archive whose entries write outside the cache directory. This allows an attacker to overwrite or create files on the host system, which can be escalated to remote code execution. The weakness corresponds to CWE‑22 and CWE‑59.

Affected Systems

The affected product is Nrwl Nx. Versions from 20.8.0 up to and including 22.7.7, as well as the 23.0.2 release, are vulnerable when a workspace is configured to use a self‑hosted remote cache. Default local cache and Nx Cloud are not affected.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. Although the EPSS score is not available, the lack of listing in the CISA KEV catalog suggests no publicly known exploitation has been observed. Nevertheless, the vulnerability is exploitable via a compromised or on‑path remote cache server, which can provide a malicious archive. The attack vector is inbound, relying on the host's acceptance of a remote cache response. The high consequence and potential for remote code execution make immediate remediation prudent, while the exploitation probability remains uncertain due to missing EPSS data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nx to version 22.7.7 or later 23.0.2 to apply the official fix
  • If the self‑hosted remote cache is not required, remove or disable its configuration in the workspace
  • Ensure the remote cache server is trusted and communicate over TLS with proper certificate validation to prevent MITM substitution

Generated by OpenCVE AI on August 7, 2026 at 00:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vp3h-ghgh-jr7g Nx: Zip-Slip in the self-hosted remote cache
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

threat_severity

Critical

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nrwl
Nrwl nx
Vendors & Products Nrwl
Nrwl nx
Type Values Removed Values Added
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.
Title Nx: Zip-Slip in the self-hosted remote cache
Weaknesses CWE-22
CWE-59
References
Metrics cvssV4_0

{'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'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 8, 2026, 2:33 AM
Reserved
Aug 6, 2026, 7:56 PM
Status
Awaiting Analysis
Published
Aug 6, 2026, 10:18 PM
Modified
Oct 24, 2026, 3:10 PM
Severity
Critical
Public date
Aug 6, 2026, 8:07 PM