zip-lib Directory Traversal Revives Zip Slip-Style Archive Extraction Risk
Vulnerability Disclosure · 3 sources · Updated 4mo ago · First seen Jul 29, 2026

A high-severity directory traversal flaw, CVE-2026-17524, has been disclosed in the zip-lib package before version 1.1.0, allowing attackers to bypass extraction safeguards and write files outside the intended destination folder. The bug stems from cached path-validation results during archive extraction: zip-lib checks the isOutsideTargetFolder condition only when an initial directory symlink is created, enabling later archive entries to evade traversal protections. The issue is mapped to CWE-22 and carries a CVSS 3.1 score reflecting network-exploitable impact with high confidentiality risk.
The vulnerability fits the long-running Zip Slip class of archive extraction bugs, in which crafted archive entries such as ../../ paths can overwrite arbitrary files and potentially lead to remote code execution across ZIP, TAR, JAR, CPIO, and other formats. Security research has shown this pattern affects thousands of projects across multiple ecosystems when extraction logic concatenates archive entry names without robust validation, and offensive testing tools such as Archive Pwn have made it easier to generate malicious archives using traversal paths, symlink abuse, Unicode tricks, and other bypass techniques. The zip-lib disclosure underscores that archive handling remains a persistent software supply chain and application security risk even years after the original Zip Slip wave of fixes.


