CVE-2026-56876

extract-zip unvalidated symlink path traversal

State
Published
Severity
8.6 High
Published
Jun 26, 2026
Updated
Jun 30, 2026
Reserved
Jun 23, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:Ncisa-cg
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Ncisa-cg

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-61 UNIX Symbolic Link (Symlink) Following

Affected Products

ProductVersions
extract-zipmax-mapper
  • all versionsAffected

References

  • urlthird-party-advisory
  • urlthird-party-advisory
  • urlvdb-entry

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.