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
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según Red Hat. Más baja según GHSA (alta).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| npm::GitHub Security Advisory npm | @nx/azure-cache, @nx/gcs-cache, @nx/powerpack-azure-cache y 6 más | 22.7.7, 23.0.2 |
Mostrar las 9 entradas de 1 fuente
| Fuente | Paquete | Corregido en |
|---|---|---|
| npm::GitHub Security Advisory npm | @nx/azure-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | @nx/gcs-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | @nx/powerpack-azure-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | @nx/powerpack-gcs-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | @nx/powerpack-s3-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | @nx/powerpack-shared-fs-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | @nx/s3-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | @nx/shared-fs-cache | sin corrección indicada |
| npm::GitHub Security Advisory npm | nx | 22.7.7, 23.0.2 |
Referencias
- https://access.redhat.com/security/cve/CVE-2026-71476
- https://github.com/nrwl/nx
- https://github.com/nrwl/nx/commit/2b20c2da39d263c32ae05767577589481a309fee
- https://github.com/nrwl/nx/commit/a82807621e4176e37909d2c1afede661b45cc30
- https://github.com/nrwl/nx/commit/ad296578fe980a4aad66f8af0add21f6ddf907d9
- https://github.com/nrwl/nx/pull/36116
- https://github.com/nrwl/nx/security/advisories/GHSA-vp3h-ghgh-jr7g
- https://nvd.nist.gov/vuln/detail/CVE-2026-71476