CVE-2026-63499 PUBLISHED

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

Assigner: GitHub_M
Reserved: 16.07.2026 Published: 03.11.2026 Updated: 03.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
CVSS Score: 6.9

Product Status

Vendor zeroturnaround
Product zt-zip
Versions
  • Version < 1.18.1 is affected

References

Problem Types

  • CWE-23: Relative Path Traversal CWE