Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-63436 EUVD-2026-116112GHSA-52c6-99qm-3hqr

zt-zip: Path traversal in fluent API unpack

Published Nov 3, 2026 · Updated Nov 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
zeroturnaround zt-zip < 1.18.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.zeroturnaround:zt-zip < 1.18.0 1.18.0 GHSA-52c6-99qm-3hqr

References