CVE-2026-144971: compressing before 2.1.4 Symlink Containment Bypass via Self-Referential Directory Link

Published Dec 4, 2026
·
Updated

compressing before 2.1.4 contains a symlink containment bypass in makeUncompressFn in lib/utils.js that lets attackers plant symlinks pointing outside the extraction root. Attackers can supply a crafted tar, tgz or zip archive with a directory symlink to .. and chained entry paths, enabling arbitrary file read or overwrite when applications follow the link.

Affected Software

1 affected component
npm/compressing<2.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.1.4

Event History

Dec 4, 2026
CVE Published
via OSV·02:42 PM
Data Sourced
via OSV·02:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using compressing versions before 2.1.4 to extract attacker-controlled tar, tgz, or zip archives are exposed. The impact occurs when the application follows the archive-created symlink during extraction.

2

What does an attacker need to exploit it?

An attacker needs to provide a crafted archive containing a directory symlink pointing to .. along with chained entry paths. No attacker privileges are required, but user interaction is required according to the supplied severity vector.

3

What can an attacker do if exploitation succeeds?

The attacker can cause arbitrary file reads or overwrites outside the intended extraction root when the application follows the planted link.

4

How can I determine whether my application is affected?

Check whether it uses compressing earlier than 2.1.4 and extracts tar, tgz, or zip archives that an attacker can influence. Review extraction workflows for archives containing directory symlinks and subsequent paths that could traverse through those links.

5

What is the remediation?

Update compressing to version 2.1.4 or later. Until that is possible, do not extract untrusted archives with affected versions, especially archives that may contain symlinks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203