{"id":"CVE-2026-24884","published":"2026-02-04T19:35:56Z","modified":"2026-02-05T14:32:51Z","title":"Compressing Vulnerable to Arbitrary File Write via Symlink Extraction","vendor":"node-modules","product":"compressing","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00257,"percentile":0.10671,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/node-modules/compressing/security/advisories/GHSA-cc8f-xg8v-72m3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/node-modules/compressing/commit/8d16c196c7f1888fc1af957d9ff36117247cea6c","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-modules/compressing/commit/ce1c0131c401c071c77d5a1425bf8c88cfc16361","tags":["x_refsource_MISC"]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":2.13},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"node-modules","affectedVersions":[{"vendor":"node-modules","product":"compressing","versions":["= 2.0.0","< 1.10.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-05T14:23:12.467869Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"compressing","vulnerableRanges":[">=2.0.0, <2.0.1","<1.10.4"],"patched":["2.0.1","1.10.4"],"from":["GHSA-cc8f-xg8v-72m3"],"provenance":"source"}],"summary":{"text":"The compressing library for Node.js (node-modules/compressing) contains a flaw in its TAR extraction routine, which restores symbolic links without validating that their targets stay inside the extraction directory. An attacker who can supply a crafted TAR archive that is extracted locally, with no authentication or user interaction required beyond the extraction itself, can use embedded symlinks to direct subsequent file writes to arbitrary locations on the host, potentially overwriting sensitive files or creating files in security-critical paths.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:23Z"},"euvd":{"id":"EUVD-2026-5368","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-node-modules-compressing-cve-2026-24884","children":[{"from":"CVE-2026-24884","to":"CVE-2026-40931","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"Prior to 2.1.1 and 1.10.5, the patch for CVE-2026-24884 relies on a purely logical string validation within the isPath… …solved path string starts with the destination directory string but fails to account for the actual filesystem state.","from":"CVE.org","in":"CVE-2026-40931"},{"kind":"version-step","provenance":"source","package":"npm:compressing","fromFixed":"2.0.1","toFixed":"2.1.1","daysApart":76},{"kind":"version-step","provenance":"source","package":"npm:compressing","fromFixed":"1.10.4","toFixed":"1.10.5","daysApart":76},{"kind":"similar","provenance":"machine","score":0.37,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-24884","published":"2026-02-04","fixed":"2.0.1","kev":false},{"cve":"CVE-2026-40931","published":"2026-04-21","fixed":"2.1.1","kev":false}],"package":"npm:compressing"}}