CVE-2026-63499
zt-zip is a Java library that provides convenience methods for ZIP archive manipulation.
Impact
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.
An attacker can exploit this with local access to the system, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of data or systems being changed, low risk of outages.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.zeroturnaround:zt-zip | <= 1.18.0 | 1.18.1 |
Affected products · Zeroturnaround
| Product | Affected versions |
|---|---|
| Zt-zip | before 1.18.1 Version < 1.18.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/zeroturnaround/zt-zip/security/advisories/GHSA-v2g6-7r9j-v6px
- https://github.com/zeroturnaround/zt-zip/pull/191
- https://github.com/zeroturnaround/zt-zip/commit/1b625467b4c3cd3a9bee9efc35bdef2f8d9c8dad
- https://github.com/zeroturnaround/zt-zip/releases/tag/v1.18.1
- https://github.com/advisories/GHSA-v2g6-7r9j-v6px
- https://nvd.nist.gov/vuln/detail/CVE-2026-63499