decompress: Archive extraction can create files and links outside the target directory
Summary
| CVE | CVE-2026-53486 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-14 21:17:05 UTC |
| Updated | 2026-07-14 21:17:05 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Problem Types: CWE-22 | CWE-59 | CWE-732 | CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following') | CWE-732 CWE-732: Incorrect Permission Assignment for Critical Resource
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | CNA | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | XhmikosR | Decompress | affected < 10.2.1 | Not specified |
| CNA | XhmikosR | Decompress | affected >= 11.0.0, < 11.1.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/XhmikosR/decompress/releases/tag/v10.2.1 | [email protected] | github.com | |
| github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff43... | [email protected] | github.com | |
| github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293... | [email protected] | github.com | |
| github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14... | [email protected] | github.com | |
| github.com/XhmikosR/decompress/releases/tag/v11.1.3 | [email protected] | github.com | |
| github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb... | [email protected] | github.com | |
| github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.