CVE-2026-17524: Directory Traversal in zip-lib Extraction
CVE-2026-17524 is a directory traversal vulnerability in zip-lib affecting versions prior to 1.1.0. The flaw is in the archive extraction logic’s caching mechanism for path validation. During extraction, the security check intended to ensure output paths remain within the target directory only evaluates and caches path status when the initial directory symlink is created during the first extraction. Because subsequent extraction behavior can rely on this cached result, an attacker can bypass the intended isOutsideTargetFolder protection and cause archive contents to be extracted outside the designated destination.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to bypass directory traversal protections during archive extraction and write files outside the intended target folder. Based on the available severity information, the primary impact is unauthorized file write leading to potential exposure of sensitive data or placement of attacker-controlled content in unintended filesystem locations.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, avoid extracting untrusted archives with affected versions of zip-lib. Restrict extraction operations to trusted inputs only and isolate extraction into tightly controlled environments with minimal filesystem permissions so that unintended writes outside the destination directory cannot affect sensitive locations.
Remediation
Patch, then assume compromise.
Upgrade zip-lib to version 1.1.0 or later, which contains the fix for the path validation caching flaw in the extraction process.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-17524 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-17524 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-17524?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-17524.
- Is there a patch for CVE-2026-17524?
- Upgrade zip-lib to version 1.1.0 or later, which contains the fix for the path validation caching flaw in the extraction process.
- How severe is CVE-2026-17524?
- CVE-2026-17524 has a CVSS v4 score of 8.7 (High) and an EPSS score of 1.2% (67th percentile) as of Sep 25, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.