CVE-2026-17514
Received Received - Intake

Path Traversal in ZJONSSON node-unzipper

Vulnerability report for CVE-2026-17514, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-27

Last updated on: 2026-07-27

Assigner: VulDB

Description

A vulnerability was determined in ZJONSSON node-unzipper up to 0.12.3. Affected by this vulnerability is the function Extract of the file lib/extract.js. This manipulation causes path traversal. The attack requires local access. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-27
Last Modified
2026-07-27
Generated
2026-07-27
AI Q&A
2026-07-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
zjonsson node_unzipper to 0.12.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a path traversal issue in the ZJONSSON node-unzipper library up to version 0.12.3. It occurs in the Extract function of lib/extract.js where a flawed string-prefix check is used to validate file paths during extraction instead of proper directory-boundary validation. This allows attackers to write files outside the intended extraction directory by using paths like '../out2/evil.txt' which bypass the incorrect check if the target directory is 'out'.

Detection Guidance

To detect this vulnerability, inspect any applications using node-unzipper version 0.12.3 or earlier. Check for unusual file writes outside intended directories, especially in web-served folders. Review ZIP extraction logs for paths containing '../' or similar traversal sequences.

Impact Analysis

This vulnerability could allow an attacker with local access to write files to unintended locations on your system. This might include overwriting sensitive files, placing malicious content in web-served directories, or potentially leading to remote code execution in some scenarios. The impact depends on what files the application can access and what permissions it has.

Compliance Impact

This vulnerability allows arbitrary file writes outside the intended extraction directory due to path traversal. This could lead to unauthorized access or modification of sensitive files, potentially violating GDPR (data protection) or HIPAA (health data privacy) by exposing or altering protected information.

Mitigation Strategies

Upgrade node-unzipper to a patched version if available. If not, replace the flawed path validation in lib/extract.js with proper directory-boundary checks using path.resolve() and path.relative(). Temporarily restrict write permissions to extraction directories and monitor for unexpected file modifications.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-17514. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart