Vulnerability · Published Feb 4, 2026 · Assigned by GitHub_M
CVE-2026-24884Compressing Vulnerable to Arbitrary File Write via Symlink Extraction
High 8.4
In plain English
A high-severity security flaw in compressing from node-modules. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | compressing | 2.0.1 | GHSA-cc8f-xg8v-72m3 |
| npm | compressing | 1.10.4 | GHSA-cc8f-xg8v-72m3 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| node-modules | compressing | = 2.0.0< 1.10.4 |
Weakness: CWE-59 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/node-modules/compressing/security/advisories/GHSA-cc8f-xg8v-72m3 x_refsource_CONFIRM
- https://github.com/node-modules/compressing/commit/8d16c196c7f1888fc1af957d9ff36117247cea6c x_refsource_MISC
- https://github.com/node-modules/compressing/commit/ce1c0131c401c071c77d5a1425bf8c88cfc16361 x_refsource_MISC