Skip to content

CVE-2026-63436 zt-zip: Path traversal in fluent API unpack

MediumCVSS 6.1 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
org.zeroturnaround/zt-zip(Maven) < 1.18.0; = 1.4; = 1.5; = 1.6 +11 more 1.18.0 Fixed
zeroturnaround zt-zip = < 1.18.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
zeroturnaround zt-zip = < 1.18.0 No fix listed
org.zeroturnaround/zt-zip(Maven) < 1.18.0 1.18.0
org.zeroturnaround/zt-zip(Maven) = 1.10 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.11 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.12 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.13 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.14 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.15 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.16 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.17 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.4 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.5 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.6 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.7 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.8 No fix listed
org.zeroturnaround/zt-zip(Maven) = 1.9 No fix listed

References