{"answers":{"affected":"2 open source packages ship an affected version, including adm-zip.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102282 exists.","fix":"Upgrade adm-zip to 0.6.1 or later.","what":"CVE-2026-102282 is a high-severity vulnerability in cthackers adm-zip, published on 5 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-102282 and fix it if it is affected.\n\nWhat it is: CVE-2026-102282 is a high-severity vulnerability in cthackers adm-zip, published on 5 Oct 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-102282 exists.\n\nAffected packages and fixed versions:\n- adm-zip (npm): affected all versions; fixed in 0.6.1\n- adm-zip (npm): affected all versions; fixed in 0.6.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-102282/ (Markdown: https://insights.sbomify.com/CVE-2026-102282/index.md)","id":"CVE-2026-102282","markdown":"https://insights.sbomify.com/CVE-2026-102282/index.md","name":"CVE-2026-102282","record":{"aliases":["CLEANSTART-2026-DD82894","CLSA-2026-1790755853","CLSA-2026-1790760941","CLSA-2026-1790854753","CLSA-2026-1790856818","CLSA-2026-1790864771","CLSA-2026-1790868324","ECHO-710d-b6f5-5a85","GHSA-j5f4-cc29-5x44","MINI-2jvw-796h-6g9h","MINI-2vwp-q856-wrpr","MINI-2x2c-vjm6-2gp5","MINI-3qp2-xmhg-66xh","MINI-5226-6c2p-mjxw","MINI-86m3-8fmj-56gv","MINI-8m28-q9mg-78q9","MINI-cc24-6pvg-49jr","MINI-ch56-ffpx-f33h","MINI-h3h8-rg22-xfgc","MINI-h695-q98c-f68v","MINI-hx49-9665-m58p","MINI-jjhh-wgm9-prfc","MINI-jrvg-xh39-vxc5","ROOT-APP-NPM-CVE-2026-102282"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Node.js ZIP library","requires_auth":"low_privilege","summary":"Attackers can craft ZIP files to preserve SUID/SGID bits during extraction, enabling local privilege escalation to root when extracted with specific permissions.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-09-23","github_poc":2,"max_poc_stars":11,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-23T21:29:43Z","kind":"github_poc","ref":"https://github.com/x86byte/adm-zip_LPE-PoC","stars":11,"title":"CVE-2026-102282: Local Privilege Escalation via SUID/SGID preservation during archive extraction"},{"date":"2026-10-02T23:30:57Z","kind":"github_poc","ref":"https://github.com/Ahmed-Elmahgob/POC-CVE-2026-102282","stars":0,"title":"CVE-2026-102282: adm-zip LPE via SUID/SGID preservation during archive extraction (fixed in 0.6.1)"}],"tier":"weaponised"},"has_fix":true,"headline":"adm-zip extraction preserves SUID/SGID bits from untrusted ZIPs -\u003e local privilege escalation","id":"CVE-2026-102282","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"privilege_escalation","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"CodeCanyon Rocket LMS Student Profile Image Upload cross site scripting","id":"CVE-2026-102290"},"packages":[{"ecosystem":"npm","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"adm-zip","purl":null,"source":"GHSA-j5f4-cc29-5x44"},{"ecosystem":"npm","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"adm-zip","purl":"pkg:npm/adm-zip","source":"GHSA-j5f4-cc29-5x44"}],"prev":{"headline":"Nest: Remote process termination via a deeply nested microservice message pattern","id":"CVE-2026-102281"},"products":["adm-zip"],"published":"2026-10-05","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["cthackers"]},"summary":"Attackers can craft ZIP files to preserve SUID/SGID bits during extraction, enabling local privilege escalation to root when extracted with specific permissions.","url":"https://insights.sbomify.com/CVE-2026-102282/"}