CVE-2026-56876
JSON

8.6high

extract-zip unvalidated symlink path traversal

Severity
8.6high CVSS:4.0 by cisa-cg
Exploit likelihood
0.53% (higher than 38% of CVEs)
Published
Last changed
Assigned by
cisa-cg
Also known as
GHSA-jmr9-qjv8-65gv

Description

extract-zip does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.

Affected

Product or packageVersionsReported by
max-mapper extract-zipbefore *, up to 2.0.1CVE List, NVD
extract-zip (npm)up to 2.0.1GitHub Advisory Database

All scores

cisa-cg8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
cisa-cg8.6high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-22CWE-61

SSVC (cisa-cg): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

extract-zip does not validate symlink targets when extracting zip archives. When processing a malicious zip file containing a symlink with a relative path like '../../../../etc/passwd', extract-zip will extract the symlink without validation, allowing it to point outside the extraction directory. Depending on how extract-zip is used, an attacker could read or write to arbitrary files.

NVD (es)

extract-zip no valida los destinos de los enlaces simbólicos al extraer archivos zip. Al procesar un archivo zip malicioso que contiene un enlace simbólico con una ruta relativa como ’.. / .. / .. / .. / etc/p4ssd’, extract-zip extraerá el enlace simbólico sin validación, permitiendo que apunte fuera del directorio de extracción. Dependiendo de cómo se utilice extract-zip, un atacante podría leer o escribir en archivos arbitrarios.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56876 changed 2026-06-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-jmr9-qjv8-65gv changed 2026-09-10CC-BY-4.0
NVDCVE-2026-56876 changed 2026-10-25Public domain