CVE-2026-10732
JSON

6.1medium

decompress: Arbitrary File Write via Archive Extraction (Zip Slip)

Severity
6.1medium CVSS:4.0 by snyk
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-h39j-r5qq-r9mm

Description

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).

Affected

Product or packageVersionsReported by
decompressbefore *CVE List
redhat-user-workloads/volsync-0-12Not specifiedCVE List
redhat-user-workloads/volsync-bundle-0-12Not specifiedCVE List
rhacm2/volsync-operator-bundleNot specifiedCVE List
rhacm2/volsync-rhel9Not specifiedCVE List
dotnet8.0Not specifiedCVE List
decompress (npm)up to 4.2.1GitHub Advisory Database

All scores

snyk6.1medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P
snyk6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L/E:P
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub6.4medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P

Classification

CWE-22CWE-29

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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).

GitHub Advisory Database

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 files 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.

NVD (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).

References

Sources

SourceRecordLicence
CVE ListCVE-2026-10732 changed 2026-09-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-h39j-r5qq-r9mm changed 2026-08-13CC-BY-4.0
NVDCVE-2026-10732 changed 2026-09-07Public domain