CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-54550

CVE-2026-54550: Path Traversal Vulnerability in IzPack Installer Unpacker

Alon Barad
Alon Barad
Software Engineer

Aug 27, 2026·4 min read·28 visits

Executive Summary (TL;DR)

IzPack installers prior to 5.2.7 do not validate target extraction paths, allowing malicious packages to write files outside the installation folder, potentially achieving persistent code execution.

IzPack versions 5.2.6 and earlier are vulnerable to path traversal via UnpackerBase.unpack(). The vulnerability allows unauthenticated attackers to write arbitrary files to the host filesystem during the installation process by crafting malicious installer packages containing directory traversal sequences.

Vulnerability Overview

IzPack is a widely utilized Java-based cross-platform installer framework. The installer core relies on an unpacker subsystem to extract archive assets to target locations on the local filesystem. Prior to version 5.2.7, the unpacking mechanism did not validate target extraction paths against directory traversal payloads, exposing a critical filesystem attack surface.\n\nAn attacker can construct a malicious installer package containing directory traversal sequences. When executed by an target user, the installation process extracts files outside the designated installation directory. This can result in arbitrary file writes under the security context of the user executing the installer.

Root Cause Analysis

The flaw resides within the unpack method of UnpackerBase.java located in the izpack-installer module. During execution, the application reads target paths directly from the pack metadata. These paths are processed through IoHelper.translatePath(), which normalizes path separators for the target operating system but does not perform logical canonicalization.\n\nBecause the resolution logic lacks directory containment checks, the application instantiates a File object using the untrusted, un-normalized string. It then writes the package contents directly to this filesystem location. This behavior maps to CWE-22, enabling filesystem boundary escape when the underlying operating system executes the file creation routines.

Code Analysis

Before the implementation of the patch, the target validation was completely absent inside the extraction loop. The vulnerable implementation resolved paths as follows:\n\njava\n// Vulnerable Path Resolution\nString targetPath = packFile.getTargetPath();\nString path = IoHelper.translatePath(targetPath, variables);\nFile target = new File(path);\n\n\nThe remediated code implements validation at both compile-time and runtime. The patch adds lexical traversal detection inside PackFile.java and platform-specific sanitization checks within UnpackerBase.java:\n\njava\n// Patched Validation in PackFile.java\npublic static void validateTargetPath(String target) throws IOException {\n Objects.requireNonNull(target, \"target\");\n if (containsParentTraversal(target)) {\n throw new IOException(\"Installer target path must not contain path traversal: \" + target);\n }\n}\n\n\nAdditionally, the updated unpacker handles Windows-specific quirks, checking for reserved device names (CON, PRN, AUX, NUL) and trailing spaces or dots that can bypass standard security filters.

Architectural Weakness and Patch Limitations

While the patch effectively mitigates direct parent-directory traversal via relative path segments, architectural limitations remain in the design. The containment verification implemented in UnpackerBase.validateTargetPath() generates a warning instead of a hard block when files are written outside the primary installation directory.\n\nThis behavior is preserved intentionally to support installers that must place configuration files into global system directories like /etc/ or C:/ProgramData. Consequently, an installer package compiled with malicious intent can still target arbitrary write locations using absolute paths, provided no relative path traversal is detected.\n\nFurthermore, because PackFile implements java.io.Serializable, an attacker could theoretically bypass the compile-time checks by manually crafting a serialized metadata payload. If the installer deserializes untrusted pack metadata before validating the target paths dynamically during execution, the defense-in-depth model relies entirely on the runtime validations inside UnpackerBase.

Exploitation Methodology

To execute this attack, a threat actor must distribute a trojanized installer package to a target user. The attack requires user interaction to run the installer, which executes with the active privileges of the victim's operating system process.\n\nmermaid\ngraph LR\n A[\"Attacker Crafts Package with ../ Paths\"] --> B[\"Victim Executes Trojanized Installer\"]\n B --> C[\"Unpacker Translates Raw Paths\"]\n C --> D[\"File Created Outside Target Directory\"]\n D --> E[\"Payload Written to Windows Startup Folder\"]\n\n\n\nDuring extraction, the path resolver converts traversal payloads like ../../../../AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/payload.exe relative to the installation root. The system writes the executable into the startup folder, ensuring persistence and arbitrary code execution upon subsequent system logon.

Remediation

Remediation requires upgrading the IzPack packaging toolkit to a version greater than 5.2.6. Developers must rebuild existing installers using the updated compiler to ensure that the generated metadata packages include compile-time validation controls.\n\nOrganizations deploying legacy installers should perform static analysis on the distributed JAR files. Extracting and analyzing the packs.info file or embedded XML descriptors can identify the presence of ../ sequences or absolute paths pointing to sensitive system locations.

Official Patches

IzPackRemediation Pull Request containing backported security validation features.

Fix Analysis (2)

Technical Appendix

CVSS Score
7.4/ 10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N

Affected Systems

IzPack Installer Framework installations using 5.2.6 or older

Affected Versions Detail

Product
Affected Versions
Fixed Version
IzPack
IzPack
<= 5.2.65.2.7
AttributeDetail
CWE IDCWE-22
Attack VectorNetwork / User Interaction
CVSS Score7.4
EPSS ScoreNot Indexed
ImpactArbitrary File Write / Local Privilege Escalation
Exploit StatusProof of Concept
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1083File and Directory Discovery
Discovery
T1547.001Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder
Persistence
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize elements such as ".." that can resolve to a location outside of the restricted directory.

Vulnerability Timeline

Commit 4233ba38d0f1825f9cf3e0204e5261a5498e29d8 adds traversal validation controls.
2026-05-07
Commit 8b7c6792c4fe85e3b1759c106aae39b904848466 refines validation checks to address Windows platform-specific parameters.
2026-07-17
Official advisory GHSA-f63g-88cj-hjf9 published.
2026-08-26

References & Sources

  • [1]Official GitHub Advisory
  • [2]National Vulnerability Database Entry

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•20 minutes ago•GHSA-7MR3-28H5-M5VX
7.7

GHSA-7mr3-28h5-m5vx: Authorization Bypass and Cross-Project Volume Copy in Canonical LXD

An authorization bypass vulnerability in Canonical LXD (tracked as GHSA-7mr3-28h5-m5vx and CVE-2026-55621, and as GHSA-64f3-v33m-w89f in Linux Containers Incus) allows an authenticated user with restricted project access to copy custom storage volumes and volume snapshots from unauthorized projects. The flaw resides in the storagePoolVolumesPost REST API handler, which verifies permissions on the destination project but fails to check whether the caller holds view entitlements on the source project or volume specified in the request body.

Alon Barad
Alon Barad
1 views•10 min read
•about 1 hour ago•GHSA-47W9-6R3F-938G
9.9

GHSA-47w9-6r3f-938g: Authorization Bypass and Host Root Command Execution in Canonical LXD and Incus

A missing authorization and configuration validation vulnerability in Canonical LXD and LXC Incus allows authenticated users within restricted projects to bypass project security boundaries. By smuggling prohibited low-level configuration directives (such as raw.lxc or raw.qemu) inside instance snapshots or backup archives, an attacker can restore these configurations within a restricted project and execute arbitrary commands with root privileges on the underlying host operating system.

Alon Barad
Alon Barad
3 views•11 min read
•about 2 hours ago•GHSA-JPF8-86F3-WP38
9.9

CVE-2026-48752: Arbitrary Host File Read and Write via Templates Symlink in Canonical LXD and Incus

A symbolic link traversal vulnerability (CWE-59) in Canonical LXD and Linux Containers Incus allows an authenticated user with image import permissions to read and write arbitrary files on the host filesystem. During image archive unpacking, the daemon fails to reject top-level symbolic links for the instance `templates` directory. Subsequent requests to the instance template API endpoints follow this symbolic link outside the instance storage directory with root privileges, enabling complete host compromise.

Amit Schendel
Amit Schendel
4 views•10 min read
•1 day ago•CVE-2026-12411
8.4

CVE-2026-12411: Cross-Guest Volume Hijack via DevLXD Device PATCH in Canonical LXD

CVE-2026-12411 is a broken access control vulnerability in the DevLXD interface of Canonical LXD versions 6.6 through 6.8. The flaw resides in the devLXDInstancePatchHandler component, which fails to verify storage volume ownership when an instance attaches a new disk device via the /dev/lxd guest socket. When the security.devlxd.management.volumes configuration option is enabled, an untrusted guest or DevLXD identity can issue a crafted HTTP PATCH request referencing another tenant's custom storage volume. The LXD host daemon subsequently mounts the target volume into the requesting guest, permitting unauthorized cross-tenant read and write operations.

Amit Schendel
Amit Schendel
7 views•10 min read
•1 day ago•CVE-2026-105769
9.3

CVE-2026-105769: Azure Entra ID Token Exfiltration in Kaniko via Unanchored ACR Hostname Regex

CVE-2026-105769 (GHSA-5q7h-w9jf-cx97, GO-2026-6225) is an origin validation error and credential exfiltration vulnerability affecting Kaniko prior to version 1.25.20. The flaw stems from an unanchored regular expression in the integrated Azure Container Registry (ACR) credential helper (github.com/chrismellard/docker-credential-acr-env). When Kaniko processes a Dockerfile containing an image reference hosted on a lookalike domain containing an ACR suffix as a substring (e.g., x.azurecr.io.attacker.com), the credential helper acquires a Microsoft Entra ID access token for Azure Resource Manager and transmits it via HTTP POST to the attacker-controlled host.

Amit Schendel
Amit Schendel
11 views•11 min read
•1 day ago•CVE-2026-62300
6.5

CVE-2026-62300: Uncontrolled Resource Consumption in filecoin-pin Daemon

CVE-2026-62300 is an uncontrolled resource consumption vulnerability (CWE-400) affecting the daemon mode of filecoin-pin in versions up to and including 1.1.0. The daemon implements the IPFS Pinning Service API to store content on Filecoin's Proof of Data Possession (PDP) service. Due to the absence of rate limits, concurrency caps, execution timeouts, and Directed Acyclic Graph (DAG) traversal limits, an authenticated user—or an unauthenticated user when authentication is disabled—can exhaust system resources via crafted POST /pins requests.

Amit Schendel
Amit Schendel
9 views•11 min read