{"id":"CVE-2026-53486","published":"2026-07-14T20:07:14Z","modified":"2026-07-15T13:26:56Z","title":"decompress: Archive extraction can create files and links outside the target directory","vendor":"XhmikosR","product":"decompress","tier":"tail","description":{"text":"The decompress package for Node.js extracts archives. Prior to 10.2.1 and 11.1.3, archive extraction can create files and links outside the target directory. When extracting an archive to a directory, a crafted archive can read or write files outside that directory because hardlink and symlink entries are created without checking where targets point, path containment used a string prefix comparison, and file modes failed to remove setuid, setgid, or sticky bits. This issue is fixed in @xhmikosr/decompress versions 10.2.1 and 11.1.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00749,"percentile":0.51097,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff436a09dd","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/releases/tag/v10.2.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/releases/tag/v11.1.3","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.22},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"xhmikosr","affectedVersions":[{"vendor":"XhmikosR","product":"decompress","versions":["< 10.2.1",">= 11.0.0, < 11.1.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-07-15T13:24:13.932436Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@xhmikosr/decompress","vulnerableRanges":["<10.2.1",">=11.0.0, <11.1.3"],"patched":["10.2.1","11.1.3"],"from":["GHSA-mp2f-45pm-3cg9"],"provenance":"source"},{"ecosystem":"npm","package":"decompress","vulnerableRanges":["<=4.2.1"],"patched":[],"from":["GHSA-mp2f-45pm-3cg9"],"provenance":"source"}],"summary":{"text":"The decompress Node.js package, which extracts archives, contains a flaw in its archive extraction logic that allows files and links to be created outside the target directory. An attacker who supplies a crafted archive can read or write files outside the extraction directory, since hardlink and symlink targets are not checked, path containment uses a string prefix comparison, and setuid, setgid, and sticky bits are not removed from file modes.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:58Z"},"euvd":{"id":"EUVD-2026-44465","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-xhmikosr-decompress-cve-2026-53486","children":[{"from":"CVE-2026-53486","to":"CVE-2026-101894","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This vulnerability results from a bypass of the incomplete hardening for CVE-2026-53486. @xhmikosr/decompress is fixed in versions 10.2.2 and 11.1.4.","from":"CVE.org","in":"CVE-2026-101894"},{"kind":"version-step","provenance":"source","package":"npm:@xhmikosr/decompress","fromFixed":"10.2.1","toFixed":"10.2.2","daysApart":76},{"kind":"version-step","provenance":"source","package":"npm:@xhmikosr/decompress","fromFixed":"11.1.3","toFixed":"11.1.4","daysApart":76},{"kind":"same-code","provenance":"machine","files":["index.js","test.js"],"commits":["https://github.com/XhmikosR/decompress/commit/5f4b2f64abb31bbaf1fef8975b595fd7df2558d8","https://github.com/XhmikosR/decompress/commit/f6c88c668216d6a12c6cecf4fe0b6c70bf77050a","https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd","https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae"],"basis":"shared function","functions":["serial"]},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-53486","published":"2026-07-14","fixed":"11.1.3","kev":false},{"cve":"CVE-2026-101894","published":"2026-09-28","fixed":"11.1.4","kev":false}],"package":"npm:@xhmikosr/decompress"}}