Skip to content

CVE-2026-63499 zt-zip: ZipUtil.unpack can change file permissions of output directory

MediumCVSS 6.9 EPSS 0.19%
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.1, ZipUtil.unpack(...) can apply stored ZIP-entry permissions to the extraction output directory when an entry name such as / or ./ resolves to that directory itself. Because the path traversal checks permit self-referencing entries that do not escape the destination, the unpacker's permission-handling path can replace restrictive output-directory permissions with attacker-supplied permissions. This affects applications that unpack untrusted ZIP files, and POSIX systems demonstrate the issue directly, while ZTFilePermissionsUtil.fetchDefaultStrategy provides fallback permission handling on other supported systems. This issue is fixed in version 1.18.1.

Upgrade path

2 packages: 1 fixed.

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

Affected products

ProductAffected versionsFixed in
zeroturnaround zt-zip = < 1.18.1 No fix listed
org.zeroturnaround/zt-zip(Maven) < 1.18.1 1.18.1
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.18.0 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
org.zeroturnaround/zt-zip(Maven) <= 1.18.0 No fix listed

References