THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-j5f4-cc29-5x44 (high) — adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation

[GHSA] GHSA-j5f4-cc29-5x44 (high) — adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation

medgithub_advisoriesPublished 2026-09-29

GHSA-j5f4-cc29-5x44 Severity: high CVE: CVE-2026-102282

adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -> local privilege escalation

## Summary

adm-zip applies the Unix permission bits stored in a zip entry directly to the extracted file via `fs.chmodSync()` when `keepOriginalPermission=true` is passed to `extractAllTo()`/`extractEntryTo()` — and it never filters the setuid/set

Indicators of compromise

Original source: https://github.com/advisories/GHSA-j5f4-cc29-5x44