CVE-2026-114105: Adm-zip before 0.6.1 Privilege Escalation via keepOriginalPermission Setuid Bits

Published Oct 21, 2026
·
Updated

Adm-zip before 0.6.1 contains an incorrect permission assignment vulnerability that allows attackers to set setuid, setgid, or sticky bits on extracted files when keepOriginalPermission is enabled. Attackers can craft zip external file attributes that pass unmasked into chmod, letting attacker-controlled executables gain elevated privileges when extracted as root and later run.

Affected Software

1 affected component
npm/adm-zip<0.6.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade adm-zip to a version that resolves this vulnerability.

    Fixed in 0.6.1

Event History

Oct 21, 2026
CVE Published
via MITRE·12:37 AM
Data Sourced
via MITRE·12:37 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using npm/adm-zip before 0.6.1 are exposed when they extract attacker-controlled ZIP archives with keepOriginalPermission enabled. The practical impact requires extraction to occur as root and for an extracted attacker-controlled executable to later be run.

2

What does an attacker need to exploit it?

An attacker needs to provide a crafted ZIP archive whose external file attributes include setuid, setgid, or sticky permission bits. They do not need prior privileges or user interaction according to the supplied vector, but the archive must be processed by the vulnerable extraction path.

3

Is the default configuration affected?

The vulnerable behavior is specifically tied to keepOriginalPermission being enabled. The provided information does not indicate that extraction with this option disabled is affected.

4

What can be done before updating?

Do not enable keepOriginalPermission when extracting untrusted archives, and avoid extracting such archives as root. Restrict execution of files extracted from untrusted ZIP archives until the dependency can be updated to 0.6.1 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203