Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft tar with self-referential dir symlink
-
DeliveryDeliver archive to victim extraction feature
-
Exploitcompressing resolves chained path, check bypassed
-
ExecutionSymlink to outside file planted in root
-
ImpactApp reads/writes through link: arbitrary read/overwrite
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Symlink resolution safety
|
| Exploitation Conditions | The target application must extract an attacker-controlled tar or tgz archive using compressing <=2.1.3's uncompress helper (makeUncompressFn in lib/utils.js); the default configuration is vulnerable with no special option required, and no pre-existing on-disk state is needed because a single archive both creates sub/d -> .. and the chained self-referential entry. For impact to materialize beyond planting the link, a later stage of the application must read, serve, copy or write through the extracted tree (file overwrite specifically requires a subsequent write through the planted link). Limiting factors: exploitation requires the victim to process an untrusted archive (UI:P), so it is not unsolicited/remote-trigger; the advisory verified only the tar path, noting the zip path shares the helper but was not tested; and the flaw is remediated in 2.1.4, where the maintainer states updating is the fix. |
| Impact | Signals are moderate and internally consistent rather than alarming. The supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N, score 7.1) describes a network-reachable, unauthenticated, low-complexity flaw, but with UI:P - the victim application must be induced to extract an attacker-supplied archive - so this is not a drive-by condition. No EPSS score and no CISA KEV entry are present in the input, so there is no evidence of active exploitation; the strongest exploitation signal is a complete, working proof-of-concept embedded in the GHSA advisory. The vuln.today decision label is 'this_week', which aligns with a patched, PoC-available library flaw that is serious but not an emergency. Two caveats temper the raw CVSS read: (1) impact is two-staged - the bug only plants a symlink; arbitrary read, and especially overwrite (VI:L, conditional), materialize only when the host application later reads, serves, copies or writes through the extracted tree; (2) the advisory states only the tar path was tested - 'the zip path shares the helper; tar was tested' - so zip exploitability is inferred, not confirmed. This is also explicitly an incomplete fix of a prior advisory (GHSA-4c3q-x735-j3r5). Net: a real same-week patching priority for anyone extracting untrusted archives with compressing, not a high-CVSS-but-low-real-risk mislabel. |
| Exploit ScenarioDerived | An application uses compressing <=2.1.3 to extract user-supplied tar/tgz archives (for example a file-upload or package-import feature). An attacker submits a crafted archive containing a self-referential directory symlink (sub/d -> ..) followed by an entry whose textual path repeats that link, so a target like ../../../../../../../../etc/passwd passes the containment check yet resolves to the extraction root on disk, planting a symlink to /etc/passwd. When the application later reads or serves files from the extracted tree it follows the link, yielding arbitrary file read (and overwrite where a subsequent step writes through it). A full working PoC is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 04, 2026
Symlink containment bypass in the npm package compressing through 2.1.3 allows an attacker-supplied tar or tgz archive to plant a symlink that points outside the extraction root, so any later read, serve, copy or write through the extracted tree follows the link for arbitrary file read and, where a subsequent step writes through it, file overwrite. Node.js applications that call compressing's uncompress helper on untrusted archives are affected; the default configuration is vulnerable and no pre-existing on-disk state is required because one archive both creates the sub/d -> .. directory link and the chained self-referential entry that defeats the textual containment check. The maintainer released 2.1.4 to fix it; a public PoC reference (including reproduction steps in the advisory) exists but is not verified here as working exploit code, and impact only materializes when the application later operates on the extracted tree.
RemediationAI
Upgrade to compressing 2.1.4, which resolves each symlink's real parent directory before the containment check and rejects entries that escape even after normalization; the release is tagged at https://github.com/node-modules/compressing/releases/tag/v2.1.4 and the fix commit is 0495f378bdd17744712e25be48377ead6dd46d73, with the advisory at https://github.com/node-modules/compressing/security/advisories/GHSA-grx6-75c5-f738. Because the maintainer's guidance is that updating to 2.1.4 is the complete fix, organizations that cannot upgrade immediately should reduce exposure by not passing untrusted archives to compressing's uncompress helper, extracting in a throwaway container or sandbox with the extracted tree not reachable by later privileged reads or writes, and avoiding any subsequent copy or write through the extraction directory - each of which limits the arbitrary-read and overwrite impact at the cost of functionality that depends on processing third-party archives. Note that despite the tag 'Authentication Bypass', the vector is unauthenticated (PR:N) with user interaction (UI:P) required for the victim to process a malicious archive.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
compressing is a Node.js archive library whose makeUncompressFn in lib/utils.js wraps streaming decompressors; for tar entries it validates each symlink by resolving the entry's linkname against the entry's textual directory path and checking the result stays within the destination (isRealPathSafe). The flaw is a classic CWE-59 link-following / CWE-22 path traversal containment failure: the check reasons about the path as written, not as resolved on disk. An archive entry sub/d with linkname .. is accepted because its textual target equals the extraction root, but on disk it resolves back to the root; a second symlink whose textual path passes through that link repeatedly (for example sub/d/sub/d/sub/d/sub/d/x) appears eight levels deep, so a target of ../../../../../../../../etc/passwd passes the containment check while x is actually created at the extraction root and points to /etc/passwd. This is an incomplete fix of GHSA-4c3q-x735-j3r5: unlike that earlier issue, no pre-existing link is needed. The advisory notes both the tar and zip paths share the helper, but only tar (and tgz) were tested. The 2.1.4 commit adds realpathWithMissingDirectories, resolves each symlink's real parent directory and re-checks the target against both the resolved and real destination roots, and normalizes relative targets accordingly.
Know when Compressing gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Remote attacker-supplied archive, no auth (PR:N), but the victim must extract it (UI:R); arbitrary read gives C:H, overwrite only where a later write occurs so I:L, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 1
Technical POC Analysis
CWE-59 (Improper Link Resolution Before File Access), also scored CWE-22 in the advisory.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The npm package 'compressing' through version 2.1.3 contains a symlink containment bypass (CVE-2026-144971, CVSS 7.1) that allows an attacker-supplied tar or tgz archive to read or overwrite arbitrary files on the host. Any Node.js application that extracts untrusted archives using this library is affected, potentially exposing sensitive data or enabling file tampering. Leadership should prioritize patching because the default configuration is vulnerable and a public proof-of-concept reference exists, though active exploitation has not been confirmed.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
EUVD-2026-144242
GHSA-27m3-q9r2-xhj6
NVD
CVE.org
Exploit-DB