Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-104024 Overview
CVE-2026-104024 is an Incomplete List of Disallowed Inputs vulnerability [CWE-184] affecting PeaZip versions 10.5.0 through 11.2.0 on Windows. The archive object viewer in peach.pas (grid_obj_open) uses a hard-coded list of seven extensions (exe, cmd, msi, bat, ps1, vbs, reg) to decide whether to show the "Do you want to run this file?" prompt. Shell-executable formats routed through ShellExecuteW, including .url and .lnk, are absent from this list. An attacker who convinces a victim to open a crafted archive entry can execute programs or arbitrary commands with no confirmation dialog.
Critical Impact
User-assisted silent code execution in the context of the user opening the archive, with no privilege escalation but full access to shell-executable payloads and attacker-controlled command lines via .lnk shortcuts.
Affected Products
- PeaZip 10.5.0 through 11.2.0 on Windows
- Archive object viewer component (peach.pas, function grid_obj_open)
- SECEXTCONST extension gating constant in PeaZip sources
Discovery Timeline
- 2026-10-15 - CVE-2026-104024 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-104024
Vulnerability Analysis
The archive viewer in PeaZip gates its "Do you want to run this file?" warning on a static blocklist named SECEXTCONST. The check performs an exact string comparison of the archive entry's extension against seven hard-coded values: exe, cmd, msi, bat, ps1, vbs, and reg. The logic answers only whether the extension matches one of the seven. It never asks whether Windows will actually execute the file through ShellExecuteW.
Several shell-executable types are missing from the list. A .url Internet Shortcut whose URL line is attacker-controlled launches with no prompt, while byte-identical content renamed to .bat triggers the warning in the same session. A .lnk entry extends the impact from launching a program to running an arbitrary command line, because Windows shortcuts carry argument strings. A proof-of-concept shortcut targeting cmd.exe with an attacker-chosen command line executed with no prompt. The shortcut target is not confined to the local disk; the shell also resolved an attacker-named UNC path, raising the possibility of remote payload fetching.
Root Cause
The root cause is reliance on a denylist rather than an allowlist or capability check. SECEXTCONST enumerates only a subset of extensions Windows treats as executable through ShellExecuteW. Formats such as .url, .lnk, .scf, .hta, and .chm are not represented, so the confirmation prompt is bypassed for any entry outside the seven listed strings.
Attack Vector
Exploitation requires user interaction. An attacker crafts an archive containing an Internet Shortcut (.url) or Windows shortcut (.lnk) with a chosen target and command line. The victim opens the archive in PeaZip and double-clicks the entry in the object viewer. PeaZip bypasses the warning and hands the file to the Windows shell, which executes it as the current user. For .lnk entries, the shortcut can invoke cmd.exe with arbitrary arguments or resolve a UNC path to attacker-controlled infrastructure.
// Patch context from PeaZip 1.33 development notes
// Source: peazip-sources/dev/pea.pas
1.31 20260506 G.Tani (.pea format) Fixed path traversal evasion on extraction
(Windows) Fixed sanitization of input for functions invoking PowerShell
1.32 20260704 G.Tani Hardened integrity tags checks with constant-time comparison routines
1.33 20260827 G.Tani *** IN PROGRESS
Fixed some PEA files erroneously reported as containing relative paths
Fixed validation of first compressed block size on extraction of PEA archives
Source: GitHub Commit 90ddbae
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-104024
Indicators of Compromise
- Archive files (.zip, .7z, .rar, .tar) containing .url or .lnk entries opened through PeaZip on Windows endpoints
- cmd.exe, powershell.exe, or wscript.exe spawned as a child process of peazip.exe shortly after an archive was opened
- Outbound SMB or WebDAV connections to attacker-controlled UNC paths originating from processes launched by the Windows shell after PeaZip activity
- .url files whose URL= directive points to file://, \\server\share, or non-HTTP schemes handled by the shell
Detection Strategies
- Hunt for process-creation events where the parent is peazip.exe and the child is a scripting host or cmd.exe with command-line arguments
- Correlate archive extraction or viewing activity with subsequent shortcut (.lnk) resolution events in the Windows event log
- Flag archives delivered via email or web download that contain Windows shortcuts or Internet Shortcuts, particularly with UNC targets
Monitoring Recommendations
- Monitor Sysmon Event ID 1 (ProcessCreate) for peazip.exe parent processes spawning interpreters or shell binaries
- Monitor Sysmon Event ID 3 (NetworkConnect) for outbound SMB (TCP 445) connections initiated after PeaZip usage
- Track installed PeaZip versions across the fleet and alert on hosts running 10.5.0 through 11.2.0
How to Mitigate CVE-2026-104024
Immediate Actions Required
- Upgrade PeaZip to version 1.33 or later once released, which addresses the incomplete extension list in SECEXTCONST
- Restrict or remove PeaZip from endpoints where archive handling is not required for business operations
- Educate users not to double-click entries inside archives from untrusted sources, even when PeaZip presents no warning
Patch Information
The PeaZip project published changes in GitHub Commit 90ddbae addressing hash updates and related hardening in externalprograms.pas and pea.pas. Full remediation guidance and vulnerability analysis are documented in the Security Report CVE-2026-104024.
Workarounds
- Extract archives to a scratch directory before interacting with their contents, rather than launching entries from the PeaZip object viewer
- Use Windows Attack Surface Reduction rules to block child processes spawned by archive utilities
- Block outbound SMB (TCP 445) at the perimeter firewall to prevent UNC-based payload retrieval through resolved shortcuts
- Apply file-type policies that quarantine .url and .lnk files received via email or web downloads
# Example: block outbound SMB at the host firewall on Windows
New-NetFirewallRule -DisplayName "Block Outbound SMB 445" `
-Direction Outbound -Protocol TCP -RemotePort 445 -Action Block
# Example: enumerate PeaZip installations across endpoints
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |
Where-Object { $_.DisplayName -like "PeaZip*" } |
Select-Object DisplayName, DisplayVersion, InstallLocation
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

