{"id":"CVE-2026-53486","state":"PUBLISHED","title":"decompress: Archive extraction can create files and links outside the target directory","description":"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.","publishedAt":"2026-07-14T20:07:14.190Z","updatedAt":"2026-07-15T13:26:56.864Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["XhmikosR decompress"],"affected":[{"vendor":"XhmikosR","product":"decompress","versions":[{"version":"< 10.2.1","status":"affected"},{"version":">= 11.0.0, < 11.1.3","status":"affected"}]}],"references":["https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9","https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd","https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae","https://github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89","https://github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff436a09dd","https://github.com/XhmikosR/decompress/releases/tag/v10.2.1","https://github.com/XhmikosR/decompress/releases/tag/v11.1.3"],"weaknesses":["CWE-22","CWE-59","CWE-732"],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53486.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53486","state":"PUBLISHED","datePublished":"2026-07-14T20:07:14.190Z","dateUpdated":"2026-07-15T13:26:56.864Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-06-09T17:05:25.058Z"},"containers":{"cna":{"title":"decompress: Archive extraction can create files and links outside the target directory","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"XhmikosR","product":"decompress","versions":[{"version":"< 10.2.1","status":"affected"},{"version":">= 11.0.0, < 11.1.3","status":"affected"}]}],"references":[{"url":"https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9","name":"https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd","name":"https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae","name":"https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89","name":"https://github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff436a09dd","name":"https://github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff436a09dd","tags":["x_refsource_MISC"]},{"url":"https://github.com/XhmikosR/decompress/releases/tag/v10.2.1","name":"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","name":"https://github.com/XhmikosR/decompress/releases/tag/v11.1.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-732","lang":"en","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-14T20:07:14.190Z"},"source":{"advisory":"GHSA-mp2f-45pm-3cg9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-15T13:24:13.932436Z","id":"CVE-2026-53486","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-15T13:26:56.864Z"}}]}}}