p PatchFirst

CVE-2026-71476

CVE-2026-71476 · Nx: Zip-Slip in the self-hosted remote cache

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.7 · High · EPSS 0.9% · Fix available

Published
Updated

Stack: node

Affected products and versions

Original sources

Check your server →