cve.bz

CVE-2026-102282 cthackers adm-zip

7.1 highEPSS 0.2%Fix available

High (7.1) in cthackers adm-zip. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in adm-zip 0.6.1.

On this page
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.

Severity

CVSS 3.1

7.1 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • adm-zip (npm): fixed in 0.6.1

Ask an AI about this CVE

Show the promptExplain CVE-2026-102282 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-102282?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-102282?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-102282 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cthackers adm-zip< 0.6.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j5f4-cc29-5x44npmadm-zip<0.6.10.6.1

Red Hat

Red Hat rates this Important.

Red Hat's statement

A local privilege escalation flaw rated IMPORTANT by Red Hat was found in the adm-zip JavaScript library, which is bundled by several Red Hat products for creating and extracting ZIP archives. When extracting a ZIP archive with the keepOriginalPermission option enabled, adm-zip applies the Unix permission bits stored in the archive entry to the extracted file without filtering out the setuid and setgid bits. An attacker who can supply a specially crafted archive to an application or process that extracts it with this option enabled, for example a build, CI, or installation step running with administrative privileges, can cause a binary with the setuid bit set to be written to disk. If a local unprivileged user subsequently executes that file, the attacker's code runs with administrative privileges, resulting in a full compromise of the confidentiality and integrity of the affected host. Red Hat rates this flaw with a CVSS 3.1 score of 7.1 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N), consistent with the upstream severity. Fixes for affected Red Hat product streams, including OpenShift Container Platform and community Fedora and EPEL components, are being pursued through the responsible product teams. Red Hat Enterprise Linux is not affected because the vulnerable adm-zip code is not present in the shipped gjs packages, and in the JBoss Fuse 7 ELS stream the vulnerable code is not in an executable path.

Red Hat's mitigation

When 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 setuid/setgid bits from extracted permission metadata, so updating adm-zip to a version that includes this fix, when made available through Red Hat product channels, resolves the issue.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.2ansible-automation-platform/automation-portal:1792523640Fixed 2026-10-21RHSA-2026:86675
Red Hat OpenShift AI 3.4rhoai/odh-dashboard-rhel9:1793001801Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-automl-rhel9:1793001841Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-autorag-rhel9:1793001850Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-eval-hub-rhel9:1793001842Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-gen-ai-rhel9:1793001896Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-maas-rhel9:1793001859Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-mlflow-rhel9:1793001851Fixed 2026-10-29RHSA-2026:92510
Red Hat OpenShift AI 3.4rhoai/odh-mod-arch-model-registry-rhel9:1793001827Fixed 2026-10-29RHSA-2026:92510
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-operator-bundleNot affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/volsync-rhel9Not affected
Red Hat Build of Podman Desktoprh-podman-desktopAffected
Red Hat Developer Hub 1rhdh/rhdh-hub-rhel9Not affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Fuse 7adm-zipWill not fix
Red Hat OpenShift AI (RHOAI)rhoai/odh-core-bff-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-dashboard-operator-rhel9Affected
Red Hat OpenShift AI (RHOAI)rhoai/odh-mod-arch-agent-ops-rhel9Affected
Red Hat OpenShift Container Platform 4openshift4/ose-consoleNot affected
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-102282.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • x86byte/adm-zip_LPE-PoC Harbor Check: matches CVE 11 stars, created
    CVE-2026-102282: Local Privilege Escalation via SUID/SGID preservation during archive extraction
  • Ahmed-Elmahgob/POC-CVE-2026-102282 Harbor Check: matches CVE 0 stars, JavaScript, created
    CVE-2026-102282: adm-zip LPE via SUID/SGID preservation during archive extraction (fixed in 0.6.1)

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON