Skip to content

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

HighCVSS 7.1 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
DockerRed Hat

Description

adm-zip is a JavaScript library for creating and extracting ZIP archives in Node.js. Prior to 0.6.1, 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/setgid/sticky bits out of those bits. A zip crafted by an attacker can therefore produce an extracted binary with mode 04755. When extraction runs as root (the default posture in Docker builds, CI runners, and privileged install steps — the exact environments where this flag is used), the resulting root-owned setuid file is executed later by a lesser-privileged user, turning the attacker's code into a root execution. Version 0.6.1 fixes the issue.

Upgrade path

17 packages: 1 fixed, 15 with no fix yet.

PackageAffectedFixed inStatus
redhat/adm-zip(Red Hat jboss_fuse 7) All versions No fix listed No fix yet
redhat/ansible-automation-platform/automation-portal:1792523640(Red Hat ansible_portal 2.2) All versions No fix listed No fix yet
redhat/openshift4/ose-monitoring-plugin-rhel9(Red Hat openshift 4) All versions No fix listed No fix yet
redhat/rh-podman-desktop(Red Hat podman_desktop 1) All versions No fix listed No fix yet
redhat/rhoai/odh-core-bff-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-dashboard-operator-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-dashboard-rhel9:1793001801(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-agent-ops-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-automl-rhel9:1793001841(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-autorag-rhel9:1793001850(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1793001842(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1793001896(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-maas-rhel9:1793001859(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-mlflow-rhel9:1793001851(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1793001827(Red Hat openshift_ai 3.4 el9) All versions No fix listed No fix yet
npm adm-zip(npm) < 0.6.1; <= 0.6.0 0.6.1 Fixed
cthackers adm-zip = < 0.6.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cthackers adm-zip = < 0.6.1 No fix listed
redhat/ansible-automation-platform/automation-portal:1792523640(Red Hat:ansible_portal:2.2) All versions No fix listed
redhat/rhoai/odh-dashboard-rhel9:1793001801(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-automl-rhel9:1793001841(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-autorag-rhel9:1793001850(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-eval-hub-rhel9:1793001842(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-gen-ai-rhel9:1793001896(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-maas-rhel9:1793001859(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-mlflow-rhel9:1793001851(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rhoai/odh-mod-arch-model-registry-rhel9:1793001827(Red Hat:openshift_ai:3.4::el9) All versions No fix listed
redhat/rh-podman-desktop(Red Hat:podman_desktop:1) All versions No fix listed
redhat/adm-zip(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/rhoai/odh-core-bff-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-dashboard-operator-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-mod-arch-agent-ops-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/openshift4/ose-monitoring-plugin-rhel9(Red Hat:openshift:4) All versions No fix listed
npm adm-zip(npm) <= 0.6.0 No fix listed
npm adm-zip(npm) < 0.6.1 0.6.1

References