decompress: Archive extraction can create files and links outside the target directory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-53486
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 16:48 UTC · Revision 1
Source evidence
decompress: Archive extraction can create files and links outside the target directory
core-osv · Original sourcePublished 14 Jul 2026, 20:07 UTC
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.
osv:CVE-2026-53486
Complete source record
{
"id": "1cb8e8655380d6c90fe4d477c93723796f071a39049d076fbf4fbab3cd525722",
"url": "https://osv.dev/vulnerability/CVE-2026-53486",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "decompress: Archive extraction can create files and links outside the target directory",
"summary": "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.",
"evidence": "osv:CVE-2026-53486",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-53486",
"aliases": [
"CVE-2026-53486",
"GHSA-mp2f-45pm-3cg9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/xhmikosr/decompress",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "742ab1a8fe0e49d1437069cabe394ff89d41ae01"
},
{
"introduced": "bbaa8c6c31bab65fea6b8a85f12ffb4ead6845f7"
},
{
"fixed": "921c957ca09437139599d86d5f4aa963f1b3fa82"
},
{
"fixed": "281cefa00cd4275c10479bc5f1abba6b14dee8bd"
},
{
"fixed": "60b5299402e72b0b53ca2e55222e9a1ccb44afae"
},
{
"fixed": "9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89"
},
{
"fixed": "aca5aac415dc04a6fae5200e51368cff436a09dd"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "10.2.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "11.0.0"
},
{
"fixed": "11.1.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "281cefa00cd4275c10479bc5f1abba6b14dee8bd"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "60b5299402e72b0b53ca2e55222e9a1ccb44afae"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "9fcda4b0a66ca22dc8d337f9b0e7c30293c5fb89"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "aca5aac415dc04a6fae5200e51368cff436a09dd"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "742ab1a8fe0e49d1437069cabe394ff89d41ae01"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v10.2.1"
},
{
"range": [
{
"fixed": "921c957ca09437139599d86d5f4aa963f1b3fa82"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v11.1.3"
}
]
}
}
],
"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"
}
}
],
"modified": "2026-10-28T02:30:51.079163877Z",
"provider": "osv",
"references": [
"https://github.com/XhmikosR/decompress/releases/tag/v10.2.1",
"https://github.com/XhmikosR/decompress/releases/tag/v11.1.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53486.json",
"https://github.com/XhmikosR/decompress/security/advisories/GHSA-mp2f-45pm-3cg9",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53486",
"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"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22",
"CWE-59",
"CWE-732"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53486.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53486",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519911,
"published_at": "2026-07-14T20:07:14.19+00:00"
}