Skip to content
OpenAdvisories
High · 8.4 CVE-2026-24884 EUVD-2026-5368GHSA-cc8f-xg8v-72m3

Compressing Vulnerable to Arbitrary File Write via Symlink Extraction

Published Feb 4, 2026 · Updated Feb 5, 2026 · Assigned by GitHub_M

Description

Compressing is a compressing and uncompressing lib for node. In version 2.0.0 and 1.10.3 and prior, Compressing extracts TAR archives while restoring symbolic links without validating their targets. By embedding symlinks that resolve outside the intended extraction directory, an attacker can cause subsequent file entries to be written to arbitrary locations on the host file system. Depending on the extractor’s handling of existing files, this behavior may allow overwriting sensitive files or creating new files in security-critical locations. This issue has been patched in versions 1.10.4 and 2.0.1.

Affected products

VendorProductAffectedFixed
node-modules compressing = 2.0.0, < 1.10.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm compressing >= 2.0.0, < 2.0.1 2.0.1 GHSA-cc8f-xg8v-72m3
npm compressing < 1.10.4 1.10.4 GHSA-cc8f-xg8v-72m3

References