# CVE-2026-104025: Path traversal in PeaZip object preview allows execution of arbitrary programs via a crafted archive entry name

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.4
- **CVSS:** 8.4 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **CWE:** CWE-22, CWE-693
- **Published:** 2026-10-15T12:00:49.995Z
- **Modified:** 2026-10-16T19:56:15.773Z

## Who should check

- Anyone running PeaZip \< 11.3.0

## 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.

## Affected and fixed versions

- PeaZip: \< 11.3.0 (cvelist)

## Mitigation

- Upgrade PeaZip to 11.3.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-104025. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-104025.md
Affected: PeaZip < 11.3.0
Fixed in: PeaZip 11.3.0

Steps:
1. Search this machine and project for PeaZip: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-104025 being exploited?

There is no confirmed exploitation: CVE-2026-104025 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-104025?

High: CVSS 8.4 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-104025?

PeaZip \< 11.3.0.

### Is there a fix for CVE-2026-104025?

Yes. Fixed in PeaZip 11.3.0. Upgrade PeaZip to 11.3.0 or later.

### How do I check if I'm affected by CVE-2026-104025?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/peazip/PeaZip/commit/009fc35530e26729863969eddf4c18f1b48331cf>
- article: <https://secur0.com/en/cna/cve-list/cve-2026-104025-path-traversal-in-peazip-object-preview>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-104025>

HTML: <https://flawdb.com/CVE-2026-104025> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-104025>
