CVE-2026-104025 Details
Description
Path Traversal (CWE-22) in the execute_obj function of the archive object viewer (peach.pas) in PeaZip 11.2.0 and earlier on Windows allows an attacker who convinces a victim to preview an entry of a crafted archive via the "Preview with... -> Associated application" action (Shift+Ctrl+O) to execute an arbitrary program already present on the victim's system, with no warning dialog. The function validates only outname (PeaZip's own temporary directory) with checkfiledirname, while the string actually executed is the concatenation outname+tempstring; tempstring is taken verbatim from the archive entry name (StringGridList.Cells[12,...]) and is never validated. checkfiledirname (list_utils.pas) rejects control and reserved characters in the file name but performs no ".." path-containment check, so an entry named ../../../../Windows/System32/calc.exe escapes the extraction directory and is passed to cp_open -> ShellExecuteW; the extracting backend (7-Zip) strips the traversal while the opener does not. In addition, the SECEXTCONST dangerous-extension confirmation prompt is implemented only in the double-click handler (grid_obj_open) and not on this preview route, so an executable inside an archive reaches ShellExecuteW unannounced, and where the prompt does fire it names the entry's display name rather than the resolved path that will run. Arbitrary code execution was demonstrated with a proof of concept against official PeaZip builds, confirmed on two archive formats (.zip and .tar) to show the defect is in PeaZip's own path handling and not in a single format parser.
A path traversal vulnerability has been identified in PeaZip versions through 11.2.0 on Windows. The issue arises in the 'execute_obj' function of the archive object viewer, 'peach.pas'. The vulnerability allows an attacker to execute an arbitrary program already present on the victim's system by convincing the victim to preview a crafted archive entry using the 'Preview with... -> Associated application' action (Shift+Ctrl+O). The vulnerability exploits inadequate validation of the archive entry name, which is used to build the path of the executed file. The flaw has been confirmed with a proof of concept against official PeaZip builds, demonstrating that the vulnerability is rooted in PeaZip's path handling rather than in the parsers of specific archive formats.
Users are advised to upgrade to PeaZip version 11.3.0 or higher, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/peazip/PeaZip/commit/009fc35530e26729863969eddf4c18f1b48331cf | Secur0 | Source CodeVendor |
| https://secur0.com/en/cna/cve-list/cve-2026-104025-path-traversal-in-peazip-object-preview | Secur0 | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | Secur0 |
| CWE-693 | Protection Mechanism Failure | Secur0 |
Affected Products
| Product | Versions |
|---|---|
| PeaZip | <= 11.2.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | Secur0 |
Volerion