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 package | Versions | Reported by |
|---|---|---|
| max-mapper extract-zip | before *, up to 2.0.1 | CVE List, NVD |
| extract-zip (npm) | up to 2.0.1 | GitHub Advisory Database |
All scores
| cisa-cg | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| cisa-cg | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | high CVSS:4.0 | CVSS: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
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
| https://github.com/ziad626/extract-zip-security-research/security/advisories/GHSA-x7jf-2287-qcpf | exploit, third-party-advisory, web | |
| https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-177-01.json | third-party-advisory, web | |
| https://www.cve.org/CVERecord?id=CVE-2026-56876 | third-party-advisory, vdb-entry, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-56876 | advisory | |
| https://github.com/max-mapper/extract-zip | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56876 changed 2026-06-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jmr9-qjv8-65gv changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-56876 changed 2026-10-25 | Public domain |