CVE-2026-53486 Details
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.
A critical path traversal vulnerability has been identified in the decompress package for Node.js, specifically in versions prior to 10.2.1 and 11.1.3. This vulnerability allows a crafted archive to read or write files outside the intended extraction directory. The issue arises because the package does not properly validate symlink and hardlink targets before creating them, enabling links to point outside the output directory. Additionally, the file mode handling fails to remove special bits that could elevate privileges, such as setuid or setgid, particularly when the extraction process runs as root.
Users can upgrade to version 10.2.1 or 11.1.3 of the @xhmikosr/decompress package, both of which address the vulnerability by validating link targets, improving path containment checks, and removing special file modes. For those using the upstream decompress package, which is unmaintained, the only option is to migrate to @xhmikosr/decompress.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | CISA-ADP |
| Jul 14, 2026 | New CVE Received | [email protected] |