CVE-2026-56876 extract-zip unvalidated symlink path traversal

High 8.6 Published Updated

Attackers can exploit unvalidated symlink targets in extract-zip to read or write arbitrary files outside the intended extraction directory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-56876?

CVE-2026-56876 is a high-severity path traversal vulnerability in max-mapper extract-zip, published on 26 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-61, CWE-22

Which versions are affected by CVE-2026-56876?

2 open source packages ship an affected version, including extract-zip. It affects 1 product.

PackageAffectedFixed in
extract-zip npmAll versions to 2.0.1None
extract-zip npmAll versions to 2.0.1None

Products include Max-Mapper Extract-Zip.

How do I fix CVE-2026-56876?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-56876 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56876 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-56876, GHSA-jmr9-qjv8-65gv, MINI-2m3p-wcr6-c54v, MINI-2v7g-v49f-f9gw, MINI-4xvw-qjq7-wvf8, MINI-7hw7-93rw-v4w3 and 13 more.

Is CVE-2026-56876 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free