{"id":"CVE-2026-53486","summary":"decompress: Archive extraction can create files and links outside the target directory","details":"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.","aliases":["GHSA-mp2f-45pm-3cg9"],"modified":"2026-07-16T03:48:42.765800293Z","published":"2026-07-14T20:07:14.190Z","related":["CGA-j62p-ggp9-r2jg"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22","CWE-59","CWE-732"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53486.json"},"references":[{"type":"WEB","url":"https://github.com/XhmikosR/decompress/releases/tag/v10.2.1"},{"type":"WEB","url":"https://github.com/XhmikosR/decompress/releases/tag/v11.1.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53486.json"},{"type":"ADVISORY","url":"https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53486"},{"type":"FIX","url":"https://github.com/XhmikosR/decompress/commit/281cefa00cd4275c10479bc5f1abba6b14dee8bd"},{"type":"FIX","url":"https://github.com/XhmikosR/decompress/commit/60b5299402e72b0b53ca2e55222e9a1ccb44afae"},{"type":"FIX","url":"https://github.com/XhmikosR/decompress/commit/9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89"},{"type":"FIX","url":"https://github.com/XhmikosR/decompress/commit/aca5aac415dc04a6fae5200e51368cff436a09dd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/xhmikosr/decompress","events":[{"introduced":"0"},{"introduced":"bbaa8c6c31bab65fea6b8a85f12ffb4ead6845f7"},{"fixed":"742ab1a8fe0e49d1437069cabe394ff89d41ae01"},{"fixed":"921c957ca09437139599d86d5f4aa963f1b3fa82"},{"fixed":"281cefa00cd4275c10479bc5f1abba6b14dee8bd"},{"fixed":"60b5299402e72b0b53ca2e55222e9a1ccb44afae"},{"fixed":"9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89"},{"fixed":"aca5aac415dc04a6fae5200e51368cff436a09dd"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"10.2.1"},{"introduced":"11.0.0"},{"fixed":"11.1.3"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["v10.2.0","v11.1.2","v11.1.1","v11.1.0","v11.0.2","v11.0.1","v11.0.0","v10.1.0","v10.0.1","v10.0.0","v9.0.1","v9.0.0","v8.0.0","v7.0.0","v6.0.0","v5.0.0","v4.2.1","v4.2.0","v4.1.0","v4.0.0","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53486.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}