Skip to main content
Mallory
← Back to News
open-source-dependency-vulnerabilityproof-of-concept-releaseinternet-facing-service-vulnerability

zip-lib Directory Traversal Revives Zip Slip-Style Archive Extraction Risk

Vulnerability Disclosure · 3 sources · Updated 4mo ago · First seen Jul 29, 2026

zip-lib Directory Traversal Revives Zip Slip-Style Archive Extraction Risk

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.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Jun 5, 2018 – Jul 28, 2026
  1. Jul 28, 20264mo ago

    Snyk receives CVE-2026-17524 for zip-lib traversal flaw

    Snyk newly received CVE-2026-17524 for a directory traversal vulnerability in zip-lib versions before 1.1.0. The flaw stems from cached path validation during extraction that can let attackers bypass protections against writing outside the target folder.

    CVE-2026-17524 - zip-lib Directory Traversal
  2. Oct 3, 20233y ago

    Pentagrid releases the Archive Pwn testing tool

    Pentagrid released Archive Pwn, a Python-based tool for generating malicious archive files to test for path traversal and related archive extraction vulnerabilities. The tool supports multiple archive formats and attack techniques including traversal, symlink abuse, Unicode normalization issues, and denial-of-service patterns.

    Archive Pwn tool released | Pentagrid AG
  3. Jun 5, 20188y ago

    Snyk publicly discloses the Zip Slip vulnerability

    Snyk publicly disclosed Zip Slip, a widespread archive extraction flaw that can enable arbitrary file overwrite and potentially remote code execution via directory traversal paths in crafted archives. The disclosure reported impact across thousands of projects and multiple ecosystems.

    GitHub - snyk/zip-slip-vulnerability: Zip Slip Vulnerability (Arbitrary file write through archive extraction) · GitHub
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.