Incorrect Behavior Order Affecting adm-zip package, versions <0.6.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

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-20335412
  • published30 Sept 2026
  • disclosed29 Sept 2026
  • creditEzinne Kalu

Introduced: 29 Sep 2026

New CVE NOT AVAILABLE CWE-436  (opens in a new tab)
CWE-696  (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 Behavior Order via duplicate entry names in a ZIP archive processed by zipFile.js. Because adm-zip stores all entries in entryList (used by extractAllTo()) but only the last occurrence of a name in entryTable (used by getEntry()), an attacker can supply an archive containing two entries with the same name. An application that validates entry content by calling getEntry() before extracting will inspect one file, while extractAllTo() writes a different file to disk, allowing the attacker to bypass content validation and land arbitrary content on the filesystem.

CVSS Base Scores

version 4.0
version 3.1