GHSA-h39j-r5qq-r9mm

Suggest an improvement
Source
https://github.com/advisories/GHSA-h39j-r5qq-r9mm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-h39j-r5qq-r9mm/GHSA-h39j-r5qq-r9mm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h39j-r5qq-r9mm
Aliases
  • CVE-2026-10732
Published
2026-06-05T09:33:46Z
Modified
2026-07-29T16:01:38.630538191Z
Severity
  • 6.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L CVSS Calculator
  • 5.6 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
decompress: Arbitrary File Write via Archive Extraction (Zip Slip)
Details

All versions of the package decompress are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) when extracting a ZIP archive containing two entries with the same path - the first being a symlink to an arbitrary target and the second being a regular file - the file content is written through the symlink to the target location outside the output directory. This is due to the microtask processing order that checks readlink for the second file before resolving symlink for the first file. An attacker can write arbitrary files on the host filesystem potentially leading to remote code execution by providing a specially crafted ZIP archive.

Note:

This bypasses all existing path traversal protections including preventWritingThroughSymlink, added as a part of the fix for CVE-2020-12265.

Database specific
{
    "severity": "MODERATE",
    "github_reviewed_at": "2026-07-29T15:51:53Z",
    "cwe_ids": [
        "CWE-29",
        "CWE-22"
    ],
    "nvd_published_at": "2026-06-05T07:16:29Z",
    "github_reviewed": true
}
References

Affected packages

npm / decompress

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-h39j-r5qq-r9mm/GHSA-h39j-r5qq-r9mm.json"