CVE-2026-17524 Path traversal in zip-lib
An attacker can bypass directory traversal protections in zip-lib to read or modify files outside the intended extraction directory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-17524?
CVE-2026-17524 is a high-severity path traversal vulnerability in zip-lib, published on 28 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of the package zip-lib before 1.1.0 are vulnerable to Directory Traversal via the caching mechanism for path validation during the extraction process. An attacker can bypass security checks designed to prevent directory traversal. The intended security function, isOutsideTargetFolder, only checks and caches the path status when the initial directory symlink is created during the first extraction.
Weakness: CWE-22
Which versions are affected by CVE-2026-17524?
How do I fix CVE-2026-17524?
No fix has been published for CVE-2026-17524 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-17524 being exploited?
There is no known exploitation of CVE-2026-17524 in the wild and no public exploit code.
Sources
Also known as GHSA-73hr-7685-xwj3.