CVE-2026-17524
Received Received - Intake

Zip-Lib Directory Traversal via Caching Mechanism

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

Publication date: 2026-07-28

Last updated on: 2026-07-28

Assigner: Snyk

Description

Versions of the package zip-lib before 1.1.0 are vulnerable to Directory Traversal via the caching mechanism for path validation during the extraction process. An attacker can bypass security checks designed to prevent directory traversal. The intended security function, isOutsideTargetFolder, only checks and caches the path status when the initial directory symlink is created during the first extraction.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Currently, no data is known.

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

CVE-2026-17524 is a Directory Traversal vulnerability in the npm package zip-lib affecting versions before 1.1.0. It occurs due to a flaw in the caching mechanism used for path validation during file extraction. Attackers can bypass security checks designed to prevent directory traversal, allowing access to files outside the intended folder. The vulnerability is triggered when extracting zip files containing directory symlinks pointing outside the target directory.

Detection Guidance

To detect this vulnerability, inspect systems using the zip-lib package version before 1.1.0. Check for unusual file writes or symlink creations in extraction directories. Use commands like 'npm list zip-lib' to verify installed versions. Monitor logs for unexpected file operations outside target folders.

Impact Analysis

This vulnerability can allow attackers to access sensitive system files or overwrite critical files like configuration or executable files. It enables arbitrary file writes outside the intended extraction folder, potentially leading to data breaches, system compromise, or denial of service. Exploitation does not require special conditions, privileges, or user interaction.

Compliance Impact

This vulnerability can lead to unauthorized access to sensitive data, violating confidentiality requirements in GDPR and HIPAA. It may result in data breaches exposing personal or health information, leading to regulatory penalties, loss of trust, and legal consequences for organizations failing to protect such data.

Mitigation Strategies

Immediately upgrade the zip-lib package to version 1.1.0 or higher using 'npm update zip-lib'. Avoid extracting untrusted zip files, especially those containing symlinks. Implement additional file system monitoring to detect suspicious extraction activities.

Chat Assistant

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

EPSS Chart