GHSA-7pqw-9j4j-h8q3

Suggest an improvement
Source
https://github.com/advisories/GHSA-7pqw-9j4j-h8q3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-7pqw-9j4j-h8q3/GHSA-7pqw-9j4j-h8q3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7pqw-9j4j-h8q3
Aliases
Downstream
CGA (126)
MINI (15)
Published
2026-08-17T15:30:40Z
Modified
2026-09-08T21:10:57Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H CVSS Calculator
Summary
extract-zip allows arbitrary file writes through symlink archive entries
Details

extract-zip through 2.0.1 containment-checks only the parent directory of each archive entry and never the entry's own final path component, so an archive containing two entries with identical names - a symlink whose target is outside the destination, followed by a regular file - writes through the planted symlink and yields an arbitrary file write outside the destination directory.

Database specific
{
    "cwe_ids":  [
        "CWE-22"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-08T20:42:52Z",
    "nvd_published_at":  "2026-08-17T14:20:20Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / extract-zip

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
2.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/08/GHSA-7pqw-9j4j-h8q3/GHSA-7pqw-9j4j-h8q3.json"