/

CVE-2026-54550

Severity:

HIGH RISK

(7.4)

Path Traversal (CWE-22) in IzPack Java Installer

CVE-2026-54550

Deferred

Vulnerability type

Category:

Path Traversal

CWE:

CWE-22

Impact:

Arbitrary File Write and Potential Code Execution

Severity:

HIGH RISK

(7.4)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A path traversal vulnerability in IzPack allows malicious installer entries to place files outside the intended installation directory. When a victim runs a crafted installer, files may be written to startup folders, executable search paths, or other locations accessible to the installer's privileges.

Affected context

The vulnerability occurs in IzPack installers that process attacker-controlled PackFile target paths through the unpacking workflow. It becomes risky when path translation changes separators without normalizing parent-directory segments or verifying that the resulting destination remains within the intended installation directory.

Exploit preconditions

  • Attack surface: The IzPack installer unpacking process
  • Required access: Ability to supply or distribute a malicious installer package
  • Trigger point: Extraction of a PackFile entry during installation
  • Why exploitation is possible: The destination path may contain parent-directory traversal segments, and the resulting file path is not reliably constrained to the installation directory

Why this happens

The underlying issue is inadequate path canonicalization and destination containment enforcement. Converting path separators alone does not remove or resolve parent-directory segments, allowing a relative path to escape its intended extraction root. This behavior maps to CWE-22: Improper Limitation of a Pathname to a Restricted Directory, commonly known as path traversal.

Potential impact

  • Files may be written outside the intended installation directory
  • Startup locations or executable search paths may be modified
  • Existing files accessible to the installer user may be overwritten
  • Malicious files may execute later through application or operating-system startup behavior
  • The confidentiality, integrity, or availability of user-accessible data could be affected

General mitigation guidance

Mitigation generally focuses on treating archive entry names as untrusted and enforcing extraction-root containment.

Common defensive patterns include:

  • Normalize and canonicalize candidate paths before creating files
  • Verify that every resolved destination remains beneath the intended installation directory
  • Reject absolute paths, parent-directory traversal, ambiguous encodings, and platform-specific path variants
  • Use secure archive-extraction APIs that provide destination containment by default
  • Apply least-privilege permissions to installer processes and installation targets
  • Avoid allowing installers to write to sensitive startup or executable locations unless explicitly required

How teams detect issues like this

Organizations can identify similar issues through:

  • Static analysis rules for archive extraction followed by filesystem writes
  • Code review checks for separator conversion without canonicalization
  • Searches for file construction from archive or package entry names
  • Tests containing normalized, absolute, encoded, and platform-specific traversal variants
  • Policy enforcement requiring destination containment checks before file creation
  • Automated security review tools that flag untrusted paths reaching filesystem APIs

Sources

SourceLink
github.comgithub.com/izpack/izpack/commit/4233ba38d0f1825f9cf3e0204e5261a5498e29d8
github.comgithub.com/izpack/izpack/commit/8b7c6792c4fe85e3b1759c106aae39b904848466
github.comgithub.com/izpack/izpack/pull/1193
github.comgithub.com/izpack/izpack/security/advisories/GHSA-f63g-88cj-hjf9

Frequently asked

questions

It can affect a victim who obtains and runs a malicious installer, but exploitation generally requires the attacker to deliver or otherwise control the installer package.

The attacker needs a way to create, replace, or distribute an installer containing crafted file-entry paths. No direct access to the victim's filesystem is necessarily required.

Resolve each extraction path against a trusted installation root and reject it unless the canonical destination remains within that root.

Treat archive metadata as untrusted, use secure extraction primitives, test path canonicalization across platforms, and run installers with only the privileges they need.

Find out what's already
exploitable in your codebase.