CVE-2026-53486

decompress: Archive extraction can create files and links outside the target directory

State
Published
Severity
9.1 Critical
Published
Jul 14, 2026
Updated
Jul 15, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

The decompress package for Node.js extracts archives. Prior to 10.2.1 and 11.1.3, archive extraction can create files and links outside the target directory. When extracting an archive to a directory, a crafted archive can read or write files outside that directory because hardlink and symlink entries are created without checking where targets point, path containment used a string prefix comparison, and file modes failed to remove setuid, setgid, or sticky bits. This issue is fixed in @xhmikosr/decompress versions 10.2.1 and 11.1.3.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-59 Improper Link Resolution Before File Access ('Link Following')
  • CWE-732 Incorrect Permission Assignment for Critical Resource

Affected Products

ProductVersions
decompressXhmikosR
  • < 10.2.1Affected
  • >= 11.0.0, < 11.1.3Affected

References

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.