CVE-2026-54550

IzPack: Path Traversal in UnpackerBase allows writing files outside the installation directory via malicious pack entries

Published Aug 26, 2026 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

IzPack’s UnpackerBase accepts a targetPath supplied by an installer pack entry and passes it through a path translation routine that only converts separators, without normalizing parent-directory segments or restricting the destination. A crafted entry containing "../" sequences therefore allows an attacker to write files outside the intended installation directory to locations such as startup folders, executable search paths, or other writable directories that are reachable with the victim’s privileges. The result is that malicious code can be placed and later executed in the context of the user running the installer, enabling arbitrary code execution.

Affected Systems

The vulnerability is present in IzPack 5.2.6 and all earlier releases. The affected product is the IzPack Installer, a Java‑based packaging tool for creating cross‑platform installers. Any system that deploys or runs applications using an installer built with IzPack 5.2.6 or earlier is susceptible to this flaw.

Risk and Exploitability

The CVSS score of 7.4 indicates a high potential for local code execution. EPSS data is not available, so no current exploitation probability can be quantified. The flaw is not listed in CISA’s KEV catalog. Exploitation requires an attacker to supply a malicious installer; this can occur via social engineering, supply‑chain compromise, or procurement of unsigned installers. The likely attack vector is local and does not depend on network exposure; the attacker must supply a malicious installer, and the embedded code runs with the privileges of the user executing the installer, potentially allowing further system‑wide compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to IzPack 5.2.7 or a later release as identified in the GitHub advisory.
  • If an immediate upgrade is impossible, limit installation to only signed or previously verified installers and avoid running installers from untrusted sources.
  • Enforce stricter write permissions on common startup directories and system path locations to reduce the impact of any unintended file writes.

Generated by OpenCVE AI on August 26, 2026 at 16:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f63g-88cj-hjf9 IzPack has Path Traversal in UnpackerBase that allows writing files outside the installation directory via malicious pack entries
History
Type Values Removed Values Added
First Time appeared Izpack
Izpack izpack
Vendors & Products Izpack
Izpack izpack
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title IzPack: Path Traversal in UnpackerBase allows writing files outside the installation directory via malicious pack entries
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 26, 2026, 3:37 PM
Reserved
Jun 15, 2026, 7:04 PM
Status
Deferred
Published
Aug 26, 2026, 3:16 PM
Modified
Sep 9, 2026, 9:09 PM