Description
adm-zip before 0.6.1 contains an inconsistent entry resolution vulnerability that allows attackers to bypass content validation by supplying ZIP archives with duplicate entry names. Attackers can craft archives where getEntry() returns the last duplicate while extractAllTo() writes the first, causing unvalidated bytes to be written to disk.
Published: 2026-10-21
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Unvalidated File Write
Action: Upgrade
AI Analysis

Impact

adm-zip before version 0.6.1 contains an inconsistent entry resolution flaw that allows attackers to supply ZIP archives with duplicate entry names. Based on the description, it is inferred that the library’s getEntry() method returns the last duplicate entry while extractAllTo() writes the first entry, enabling unvalidated bytes to be written to the host filesystem. The result is arbitrary file creation or overwrite, which could jeopardize application integrity or allow privilege escalation if the attacker can place executable files or overwrite critical configuration files.

Affected Systems

The affected product is the Node.js ZIP handling library adm-zip, maintained by cthackers. The vulnerability exists in all releases through version 0.6.1 inclusive. Any Node.js application that imports adm-zip and processes external ZIP archives may be impacted.

Risk and Exploitability

The CVSS score of 8.2 indicates high severity, while the EPSS score of less than 1 % suggests that public exploitation is currently rare. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to supply a crafted ZIP archive to an application that uses getEntry() followed by extractAllTo(), which can occur via file uploads or remote API calls. If exploited, the attacker could create or overwrite files, potentially leading to arbitrary code execution if executable files are written to a path that is subsequently executed by the system.

Generated by OpenCVE AI on October 22, 2026 at 14:47 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade adm-zip to version 0.6.1 or newer to eliminate the duplicate entry name validation flaw.
  • If an upgrade is not feasible, validate the ZIP archive for duplicate entry names before calling extractAllTo() and reject archives that contain duplicates.
  • Refactor extraction logic so that the same entry is used consistently for both getEntry() and extraction, or enforce strict validation of the intended file path before writing.
  • Execute the extraction process in a sandboxed environment or a dedicated directory with restricted write permissions to contain potentially malicious files.

Generated by OpenCVE AI on October 22, 2026 at 14:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-694
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 21 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description adm-zip before 0.6.1 contains an inconsistent entry resolution vulnerability that allows attackers to bypass content validation by supplying ZIP archives with duplicate entry names. Attackers can craft archives where getEntry() returns the last duplicate while extractAllTo() writes the first, causing unvalidated bytes to be written to disk.
Title adm-zip before 0.6.1 Duplicate ZIP Entry Name Validation Bypass
First Time appeared Adm-zip Project
Adm-zip Project adm-zip
Weaknesses CWE-436
CPEs cpe:2.3:a:adm-zip_project:adm-zip:*:*:*:*:*:*:*:*
Vendors & Products Adm-zip Project
Adm-zip Project adm-zip
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Adm-zip Project Adm-zip
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-28T16:14:55.229Z

Reserved: 2026-10-20T21:47:43.313Z

Link: CVE-2026-114104

cve-icon Vulnrichment

Updated: 2026-10-28T16:14:32.818Z

cve-icon NVD

Status : Deferred

Published: 2026-10-21T01:17:36.220

Modified: 2026-10-28T17:17:47.730

Link: CVE-2026-114104

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-21T00:37:05Z

Links: CVE-2026-114104 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T15:15:07Z

Weaknesses
  • CWE-436

    Interpretation Conflict

  • CWE-694

    Use of Multiple Resources with Duplicate Identifier