CVE-2026-10732

All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary file on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive. **Note:** This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).
Configurations

No configuration.

History

23 Jul 2026, 07:10

Type Values Removed Values Added
Summary
  • (es) Todas las versiones del paquete decompress son vulnerables a la escritura arbitraria de archivos mediante extracción de archivo (Zip Slip) al extraer un archivo ZIP que contiene dos entradas con la misma ruta - la primera siendo un enlace simbólico a un objetivo arbitrario y la segunda siendo un archivo regular - el contenido del archivo se escribe a través del enlace simbólico a la ubicación de destino fuera del directorio de salida. Esto se debe al orden de procesamiento de microtareas que verifica readlink para el segundo archivo antes de resolver el enlace simbólico para el primer archivo. Un atacante puede escribir un archivo arbitrario en el sistema de archivos del host, lo que podría conducir a la ejecución remota de código al proporcionar un archivo ZIP especialmente diseñado. Nota: Esto elude todas las protecciones de salto de ruta existentes, incluyendo preventWritingThroughSymlink, añadido como parte de la solución para [CVE-2020-12265](https://security.snyk.io/vuln/SNYK-JS-DECOMPRESS-557358).

30 Jun 2026, 03:17

Type Values Removed Values Added
CWE CWE-22
References
  • () https://access.redhat.com/security/cve/CVE-2026-10732 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2485376 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10732.json -

05 Jun 2026, 07:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-05 07:16

Updated : 2026-09-07 13:18


NVD link : CVE-2026-10732

Mitre link : CVE-2026-10732

CVE.ORG link : CVE-2026-10732


JSON object : View

Products Affected

No product.

CWE
CWE-29

Path Traversal: '\..\filename'

CWE-22

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