Skip to content
OpenAdvisories
Critical · 9.1 CVE-2026-53486 EUVD-2026-44465GHSA-mp2f-45pm-3cg9

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

Published Jul 14, 2026 · Updated Jul 15, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
XhmikosR decompress < 10.2.1, >= 11.0.0, < 11.1.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 dotnet-hostfxr-8.0 +7 8.0.28-1.2.hum1 RHSA-2026:40415
Red Hat Hardened Images 1 dotnet8.0 +4 8.0.128-1.2.hum1 RHSA-2026:40415

Affected packages

EcosystemPackageAffectedFixedRecord
npm @xhmikosr/decompress < 10.2.1 10.2.1 GHSA-mp2f-45pm-3cg9
npm @xhmikosr/decompress >= 11.0.0, < 11.1.3 11.1.3 GHSA-mp2f-45pm-3cg9
npm decompress <= 4.2.1 — GHSA-mp2f-45pm-3cg9

Advisories 1

References