IzPack: Path Traversal in UnpackerBase allows writing files outside the installation directory via malicious pack entries
Published Aug 26, 2026
7.4
HIGHCVSS 3.1
EPSS 0.45%
Description
IzPack is a widely used tool for packaging applications on the Java platform as cross-platform installers. In 5.2.6 and earlier, UnpackerBase.unpack() in izpack-installer/src/main/java/com/izforge/izpack/installer/unpacker/UnpackerBase.java obtains an attacker-controlled PackFile targetPath, passes it through IoHelper.translatePath(), which only converts separators, and constructs a File without normalizing parent-directory segments or enforcing destination containment. A malicious installer pack entry containing ../ sequences can therefore write outside the intended installation directory to startup folders, executable search paths, or other locations accessible with the victim's privileges when the victim runs the installer.
Affected products
-
- Version <= 5.2.6StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (6)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-66562 Advisory
- https://github.com/advisories/GHSA-f63g-88cj-hjf9 Advisory
- https://github.com/izpack/izpack/commit/4233ba38d0f1825f9cf3e0204e5261a5498e29d8 x_refsource_MISC
- https://github.com/izpack/izpack/commit/8b7c6792c4fe85e3b1759c106aae39b904848466 x_refsource_MISC
- https://github.com/izpack/izpack/pull/1193 x_refsource_MISC
- https://github.com/izpack/izpack/security/advisories/GHSA-f63g-88cj-hjf9 exploitx_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-66562 | Advisory | |
| https://github.com/advisories/GHSA-f63g-88cj-hjf9 | Advisory | |
| https://github.com/izpack/izpack/commit/4233ba38d0f1825f9cf3e0204e5261a5498e29d8 | x_refsource_MISC | |
| https://github.com/izpack/izpack/commit/8b7c6792c4fe85e3b1759c106aae39b904848466 | x_refsource_MISC | |
| https://github.com/izpack/izpack/pull/1193 | x_refsource_MISC | |
| https://github.com/izpack/izpack/security/advisories/GHSA-f63g-88cj-hjf9 | exploitx_refsource_CONFIRM |
Change history (0)
No recorded changes yet.