cvelo
P3 · MediumCVSS 6.9EPSS 0.2%

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

  • CVE-2026-63499
  • GHSA-v2g6-7r9j-v6px
  • EUVD-2026-116113

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • zeroturnaround zt-zip

    Affected versionsFixed in
    < 1.18.1none stated
  • org.zeroturnaround:zt-zipMaven

    Affected versionsFixed in
    up to 1.18.0none stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.