CVE-2026-63499
published medium CVSS 4.0 · 6.9zt-zip: ZipUtil.unpack can change file permissions of output directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| zeroturnaround | — | zt-zip< 1.18.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| zeroturnaround | zt-zip | < 1.18.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-23 CWE-23: Relative Path Traversal
References
4Provider assertions
2GitHub_M · cna
zt-zip: ZipUtil.unpack can change file permissions of output directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f073a80316a26fb7867d96156029ae2f0a0be496a6adc277d9f6bbb8636e3a08
- Ingested
- 03 Nov 2026, 19:48:01 UTC
- Source record
- Official CVE record