All vulnerabilities

Maven

CVE-2026-63436

zt-zip: Path traversal in fluent API unpack

Severity
High 8.2
Published
9 Nov 2026
Last changed
9 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
1.18.0
Exploit chance
0.4% in the next 30 daysHigher than 32% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Path traversal (CWE-22)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change data · Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
Also known as
GHSA-52c6-99qm-3hqr
Sources
OSV.dev and GitHub

Description

ZipUtil.unpack(...) rejects ZIP entries that escape the target output directory, but the Zips fluent API appears to use a separate unpack implementation that does not apply the same destination-boundary check.

A ZIP entry such as:

is written outside the configured destination directory when processed with:

The transformer branch is affected as well.

In src/main/java/org/zeroturnaround/zip/Zips.java, Zips.UnpackingCallback.process(...) builds the output file directly from the ZIP entry name:

The method then creates directories/files and copies content to that path:

When a transformer is configured, the same file is passed to transformIntoFile(...).

There does not appear to be a canonical path check before these filesystem writes, so ../ entries can resolve outside destination.

Zips.get(zip).unpack().destination(outputDir).process() should reject traversal entries or otherwise ensure that the resolved output path remains inside outputDir.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.zeroturnaround:zt-zipMaven · osv:Maven:org.zeroturnaround:zt-zip
  • Every version before 1.18.0

About org.zeroturnaround:zt-zip

Vulnerabilities in org.zeroturnaround:zt-zip

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for org.zeroturnaround:zt-zip

References