cvelo
P3 · MediumCVSS 6.1EPSS 0.4%

zt-zip: Path traversal in fluent API unpack

  • CVE-2026-63436
  • GHSA-52c6-99qm-3hqr
  • EUVD-2026-116112

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.

Text from the CVE.org record.

Affected

  • zeroturnaround zt-zip

    • < 1.18.0
  • org.zeroturnaround:zt-zipMaven

    • all versions, fixed in 1.18.0

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.