Incorrect Permission Assignment for Critical Resource Affecting adm-zip package, versions <0.6.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-ADMZIP-21281980
  • published21 Oct 2026
  • disclosed21 Oct 2026
  • creditVladislav Ryashchikov

Introduced: 21 Oct 2026

NewCVE-2026-114105  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade adm-zip to version 0.6.1 or higher.

Overview

adm-zip is a JavaScript implementation for zip data compression for NodeJS.

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource via the fileAttr getter in headers/entryHeader.js, which preserves setuid, setgid, and sticky bits from archive metadata when extracting files with the keepOriginalPermission option. An attacker who controls a zip archive can embed a file with the setuid bit set, and when that archive is extracted as root, the resulting file inherits the setuid-root permission, enabling local privilege escalation.

References

CVSS Base Scores

version 4.0
version 3.1