Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. decompress
  4. ›
  5. CVE-2026-10732

CVE-2026-10732: decompress: Arbitrary File Write via Archive Extraction (Zip Slip)

June 5, 2026 (updated July 29, 2026)

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.

References

  • access.redhat.com/security/cve/CVE-2026-10732
  • bugzilla.redhat.com/show_bug.cgi?id=2485376
  • gist.github.com/Alemmi/409c3cc148c39522c6d6a8538b0e1f9e
  • github.com/advisories/GHSA-h39j-r5qq-r9mm
  • github.com/kevva/decompress/pull/112
  • nvd.nist.gov/vuln/detail/CVE-2026-10732
  • security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10732.json
  • security.snyk.io/vuln/SNYK-JS-DECOMPRESS-16415209

Code Behaviors & Features

Detect and mitigate CVE-2026-10732 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 4.2.1

Solution

Unfortunately, there is no solution available yet.

Impact 6.4 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-29: Path Traversal: '..filename'

Source file

npm/decompress/CVE-2026-10732.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:43 +0000.