zt-zip is a Java library that provides convenience methods for ZIP archive manipulation. Prior to 1.18.0, the Zips.get(zip).unpack().destination(outputDir).process() fluent API in src/main/java/org/zeroturnaround/zip/Zips.java constructs output files directly from ZIP entry names without applying the destination-boundary validation used by ZipUtil.unpack(...). A crafted entry containing parent-directory traversal can therefore write outside outputDir through both the normal copy branch and the ZipEntryTransformer branch. Applications that extract untrusted archives only through ZipUtil.unpack(...) are unaffected because that API already calls checkDestinationFileForTraversal. This issue is fixed in version 1.18.0.
History

Fri, 06 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Zeroturnaround
Zeroturnaround zt-zip
Vendors & Products Zeroturnaround
Zeroturnaround zt-zip

Tue, 03 Nov 2026 18:15:00 +0000

Type Values Removed Values Added
Description zt-zip is a Java library that provides convenience methods for ZIP archive manipulation. Prior to 1.18.0, the Zips.get(zip).unpack().destination(outputDir).process() fluent API in src/main/java/org/zeroturnaround/zip/Zips.java constructs output files directly from ZIP entry names without applying the destination-boundary validation used by ZipUtil.unpack(...). A crafted entry containing parent-directory traversal can therefore write outside outputDir through both the normal copy branch and the ZipEntryTransformer branch. Applications that extract untrusted archives only through ZipUtil.unpack(...) are unaffected because that API already calls checkDestinationFileForTraversal. This issue is fixed in version 1.18.0.
Title zt-zip: Path traversal in fluent API unpack
Weaknesses CWE-22
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2026-11-03T18:02:27.180Z

Updated: 2026-11-03T18:02:27.180Z

Reserved: 2026-07-16T19:35:57.767Z

Link: CVE-2026-63436

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-03T18:18:03.727

Modified: 2026-11-03T18:18:03.727

Link: CVE-2026-63436

cve-icon Redhat

No data.