---
id: CVE-2026-106070
title: >-
  A flaw in the Node.js `zlib.ZipFile` API can cause it to return bytes that do
  not belong to the requested entry after the local and central header
  validation fails.


  When `zipEntry.modified` is read on an archive whose local header does …
summary: >-
  A flaw in the Node.js `zlib.ZipFile` API can cause it to return bytes that do
  not belong to the requested entry after the local and central header
  validation fails.


  When `zipEntry.modified` is read on an archive whose local header does …
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-840
vendor: nodejs
product: node
affected:
  - node >= 26.12.0 <= 26.12.0
published: '2026-10-23'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T16:15:05.741Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-106070'
references:
  - url: 'https://nodejs.org/en/blog/vulnerability/october-2026-security-releases'
tags:
  - cve.org
ingestedAt: '2026-10-23T16:31:11.320Z'
---

## Overview

A flaw in the Node.js `zlib.ZipFile` API can cause it to return bytes that do not belong to the requested entry after the local and central header validation fails.

When `zipEntry.modified` is read on an archive whose local header does not match its central directory, either directly or while compacting the archive, the validation error is caught but the parsed local header is left cached without a content offset. A later content read then returns attacker-controlled bytes from the start of the file instead of rejecting the archive, and CRC-32 verification still passes because the attacker controls the central directory CRC. A Node.js-based scanner can therefore approve different content from what another ZIP implementation extracts from the same archive.

This vulnerability affects Node.js **26.x**.

## Affected

- `node >= 26.12.0 <= 26.12.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
