Skip to main content
Public proof of conceptFix available

CVE-2026-102282

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

A public proof of concept exists; no exploitation attested.

  • Published2026-10-05
  • Fixed in0.6.1
  • WeaknessCWE-732

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-10-0517:17CVE publishedNVD

Versions per branch

OSV
adm-zip
BranchAffectedFixed in
0.6< 0.6.10.6.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • cthackers adm-zip
    Affected
    • = < 0.6.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-10-05

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/adm-zipRoot:npmall versions · fixed in 0.6.0-root.io.3
  • @rootio/adm-zipRoot:npmall versions · fixed in 0.5.10-root.io.3
  • @rootio/adm-zipRoot:npmall versions · fixed in 0.5.10-root.io.4
  • @rootio/adm-zipRoot:npmall versions · fixed in 0.5.10-root.io.5
  • @rootio/adm-zipRoot:npmall versions · fixed in 0.5.18-root.io.3
  • @rootio/adm-zipRoot:npmall versions · fixed in 0.5.9-root.io.2
  • @rootio/adm-zipRoot:npmall versions · fixed in 0.5.9-root.io.3
  • adm-zipTuxCare:npmfrom 0.5.10-tuxcare.0 · fixed in 0.5.10-tuxcare.2

22 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-102282 Red Hat Product Security77 products fixed · 3 known affected

    adm-zip: adm-zip: Privilege escalation via unfiltered permission bits in extracted archives

    rh-podman-desktop as a component of Red Hat Build of Podman Desktop · adm-zip as a component of Red Hat Fuse 7 · openshift4/ose-monitoring-plugin-rhel9 as a component of Red Hat OpenShift Container Platform 4

  • RHSA-2026:95872 Red Hat Product Security44 products fixed

    Red Hat Security Advisory: RHOAI 3.5.3 - Red Hat OpenShift AI

  • RHSA-2026:92510 Red Hat Product Security32 products fixed

    Red Hat Security Advisory: RHOAI 3.4.6 - Red Hat OpenShift AI

  • RHSA-2026:86675 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Ansible plug-ins for Red Hat Developer Hub Product Release Update

Full record on NVD

Fix

  1. Update adm-zip to 0.6.1
  2. Vendor fix Red Hat Product Security RHSA-2026:95872 · 44 productsFor Red Hat OpenShift AI 3.5.3 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  3. Vendor fix Red Hat Product Security RHSA-2026:92510 · 32 productsFor Red Hat OpenShift AI 3.4.6 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this errata update: https://docs.redhat.com/en/documentation/red_hat_openshift_ai/
  4. Vendor fix Red Hat Product Security RHSA-2026:86675 · 1 productFor more about Ansible plugins for Red Hat Developer Hub, see References links
  5. Workaround from the vendor Red Hat Product Security RHSA-2026:95872 · 374 productsWhen extracting archives from untrusted sources with adm-zip, do not enable the keepOriginalPermission option in extractAllTo()/extractEntryTo(); the vulnerable permission-preservation behavior is only invoked when this option is enabled. The upstream project has released a version that filters the…
  6. No fix available, says the vendor Red Hat Product Security CVE-2026-102282 · 2 productsAffected
  7. No fix planned, says the vendor Red Hat Product Security CVE-2026-102282 · 1 productWill not fix

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
2026-10-05
Last modified
2026-10-07
NVD status
Deferred
GitHub advisory
GHSA-j5f4-cc29-5x44

Frequently asked questions

What is CVE-2026-102282?

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.

Is CVE-2026-102282 actively exploited?

A proof-of-concept exploit exists for CVE-2026-102282, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-102282?

CVE-2026-102282 has a CVSS v3 base score of 7.1 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Running adm-zip? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record