decompress: Archive extraction can create files and links outside the target directory
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XhmikosR | decompress | before 10.2.1; 11.0.0 to before 11.1.3 | 10.2.1, 11.1.3 | Patch available | CNA |
| — | @xhmikosr/decompress (npm) | before 10.2.1 | 10.2.1 | Patch available | GHSA-mp2f-45pm-3cg9 |
| — | @xhmikosr/decompress (npm) | 11.0.0 to before 11.1.3 | 11.1.3 | Patch available | GHSA-mp2f-45pm-3cg9 |
| — | decompress (npm) | up to 4.2.1 | — | No fix listed | GHSA-mp2f-45pm-3cg9 |
- decompress VendorXhmikosR Affected before 10.2.1; 11.0.0 to before 11.1.3 Fixed in 10.2.1, 11.1.3 Patch available CNA
- @xhmikosr/decompress (npm) Vendor— Affected before 10.2.1 Fixed in 10.2.1 Patch available GHSA-mp2f-45pm-3cg9
- @xhmikosr/decompress (npm) Vendor— Affected 11.0.0 to before 11.1.3 Fixed in 11.1.3 Patch available GHSA-mp2f-45pm-3cg9
- decompress (npm) Vendor— Affected up to 4.2.1 Fixed in — No fix listed GHSA-mp2f-45pm-3cg9
Remediation
- Fix · CNA decompress (XhmikosR) Fixed in 10.2.1, 11.1.3
- Fix · GHSA-mp2f-45pm-3cg9 @xhmikosr/decompress (npm) Fixed in 10.2.1 Advisory →
- Fix · GHSA-mp2f-45pm-3cg9 @xhmikosr/decompress (npm) Fixed in 11.1.3 Advisory →
Red Hat 1 advisory
- RHSA-2026:40415 Released 2026-07-15 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images aspnetcore-runtime-8.0-8.0.28-1.2.hum1@aarch64, aspnetcore-runtime-8.0-8.0.28-1.2.hum1@x86_64, aspnetcore-runtime-dbg-8.0-8.0.28-1.2.hum1@aarch64 +22
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix planned: Out of support scope |
| Red Hat Hardened Images | Fixed | RHSA-2026:40415 |
Not affected: 1 product
- Red Hat Build of Keycloak
Timeline
- 2026-10-02 Threatist record created from CVE-2026-53486
- 2026-10-03 Alias added: GHSA-mp2f-45pm-3cg9
References
Other 11
- https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9
- https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd
- https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae
- https://github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89
- https://github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff436a09dd
- https://github.com/XhmikosR/decompress/releases/tag/v10.2.1
- https://github.com/XhmikosR/decompress/releases/tag/v11.1.3
- https://github.com/XhmikosR/decompress/commit/281cefa
- https://github.com/XhmikosR/decompress/commit/60b5299
- https://github.com/XhmikosR/decompress/commit/aca5aac
- https://github.com/XhmikosR/decompress
More XhmikosR vulnerabilities
- TI-2026-65199 @xhmikosr/decompress: Path traversal via symlink chain CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-53486 · CVE Program
- CVE-2026-53486 · NVD
- FIRST EPSS
- GHSA-mp2f-45pm-3cg9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-53486 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences