GHSA-jmr9-qjv8-65gv
extract-zip unvalidated symlink path traversal
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2026-56876
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- CVSS_V4
- 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
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · extract-zip | introduced 0, last affected 2.0.1 |
Références
- https://github.com/ziad626/extract-zip-security-research/security/advisories/GHSA-x7jf-2287-qcpf WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-56876 ADVISORY
- https://github.com/max-mapper/extract-zip PACKAGE
- https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2026/va-26-177-01.json WEB
- https://www.cve.org/CVERecord?id=CVE-2026-56876 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |