Improper Preservation of Permissions Affecting org.zeroturnaround:zt-zip package, versions [,1.18.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGZEROTURNAROUND-22200542
  • published4 Nov 2026
  • disclosed3 Nov 2026
  • creditMarcono1234

Introduced: 3 Nov 2026

NewCVE-2026-63499  (opens in a new tab)
CWE-281  (opens in a new tab)

How to fix?

Upgrade org.zeroturnaround:zt-zip to version 1.18.1 or higher.

Overview

org.zeroturnaround:zt-zip is a library to process ZIP archives. Either create, modify or explode them. On disk or in memory.

Affected versions of this package are vulnerable to Improper Preservation of Permissions in the ZipUtil.unpack overloads, where an entry name that resolves to the output directory itself, such as /, passes the destination boundary check and the entry's stored file permissions are then applied to that directory. An attacker can widen access to the output directory, for example from owner only to readable, writable, and executable by every local user, by supplying an archive containing such an entry with a permissive Unix mode in its AsiExtraField extra field. Reaching this requires the application to unpack an untrusted archive, and it is not restricted to systems with POSIX file permissions, since ZTFilePermissionsUtil.fetchDefaultStrategy selects a fallback permissions strategy elsewhere.

CVSS Base Scores

version 4.0
version 3.1