CVE-2026-24884 Compressing Vulnerable to Arbitrary File Write via Symlink Extraction
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| node-modules compressing | < 1.10.4; = 2.0.0; = < 1.10.4; = = 2.0.0 | 1.10.4 | Fixed |
| npm compressing(npm) | < 1.10.4; <= 1.10.3; = 2.0.0; >= 2.0.0, < 2.0.1 | 1.10.4, 2.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| node-modules compressing | = = 2.0.0 | No fix listed |
| node-modules compressing | = < 1.10.4 | No fix listed |
| npm compressing(npm) | = 2.0.0 | No fix listed |
| npm compressing(npm) | <= 1.10.3 | No fix listed |
| node-modules compressing | < 1.10.4 | 1.10.4 |
| node-modules compressing | = 2.0.0 | No fix listed |
| npm compressing(npm) | >= 2.0.0, < 2.0.1 | 2.0.1 |
| npm compressing(npm) | < 1.10.4 | 1.10.4 |
References
- https://github.com/node-modules/compressing/security/advisories/GHSA-cc8f-xg8v-72m3 exploit vendor-advisory
- https://github.com/node-modules/compressing/commit/8d16c196c7f1888fc1af957d9ff36117247cea6c patch
- https://github.com/node-modules/compressing/commit/ce1c0131c401c071c77d5a1425bf8c88cfc16361 patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product