GHSA-mv5w-h6hm-qcp7MediumCVSS 3.7
adm-zip through 0.6.1 contains a duplicate-entry validation bypass that allows attackers to evade...
🔗 CVE IDs covered (1)
📋 Description
adm-zip through 0.6.1 contains a duplicate-entry validation bypass that allows attackers to evade the readEntries() check by using canonically equivalent entry names like './hello.txt' and 'hello.txt'. Attackers can craft ZIP archives where getEntry() or readAsText() validates benign content while extractAllTo() writes malicious content to the same path, bypassing integrity checks.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-116137
- https://github.com/cthackers/adm-zip/issues/587
- https://github.com/cthackers/adm-zip
- https://github.com/cthackers/adm-zip/blob/cb2cf9ba4c7c865db426e2de1997cb41194d9872/adm-zip.js#L87
- https://github.com/cthackers/adm-zip/blob/cb2cf9ba4c7c865db426e2de1997cb41194d9872/util/utils.js#L383
- https://github.com/cthackers/adm-zip/blob/cb2cf9ba4c7c865db426e2de1997cb41194d9872/zipFile.js#L81-L92
- https://www.vulncheck.com/advisories/adm-zip-through-0.6.1-duplicate-entry-validation-bypass-via-canonically-equivalent-names
- https://github.com/advisories/GHSA-mv5w-h6hm-qcp7