Vulnerabilities / CVE-2026-71476

critical

CVE-2026-71476

nx: @nx/s3-cache: @nx/gcs-cache: @nx/azure-cache: @nx/shared-fs-cache: @nx/powerpack-s3-cache: @nx/powerpack-gcs-cache: @nx/powerpack-azure-cache: @nx/powerpack-shared-fs-cache: Nx: Remote Code Execution via Zip-Slip vulnerability in self-hosted remote cache

Published Modified CWE 22, 59
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by Red Hat. Rated lower by GHSA (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.

Affected packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npm@nx/azure-cache, @nx/gcs-cache, @nx/powerpack-azure-cache and 6 more22.7.7, 23.0.2
Show all 9 entries from 1 source
SourcePackageFixed in
npm::GitHub Security Advisory npm@nx/azure-cacheno fix listed
npm::GitHub Security Advisory npm@nx/gcs-cacheno fix listed
npm::GitHub Security Advisory npm@nx/powerpack-azure-cacheno fix listed
npm::GitHub Security Advisory npm@nx/powerpack-gcs-cacheno fix listed
npm::GitHub Security Advisory npm@nx/powerpack-s3-cacheno fix listed
npm::GitHub Security Advisory npm@nx/powerpack-shared-fs-cacheno fix listed
npm::GitHub Security Advisory npm@nx/s3-cacheno fix listed
npm::GitHub Security Advisory npm@nx/shared-fs-cacheno fix listed
npm::GitHub Security Advisory npmnx22.7.7, 23.0.2

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.