Submit #906093: 螳螂卜禅 MantisZip 0.4.5 Path Traversalinfo

Title螳螂卜禅 MantisZip 0.4.5 Path Traversal
DescriptionMantisZip v0.4.5 and all earlier versions suffer a Zip Slip (CWE-22 path traversal) vulnerability within its GUI double-click entry preview function. The program extracts archive entries to a constrained temporary folder for preview, yet it directly concatenates unsanitized attacker-controlled ZIP entry names with the temp directory via Path.Combine. Malicious archive entries containing "../" traversal sequences can escape the temporary sandbox, enabling arbitrary file write to any user-writable path on Windows systems. Exploitation only requires low-complexity social engineering: the victim just needs to open the malicious ZIP and double-click any entry, with no authentication or elevated privileges required. Attackers can deploy persistent startup scripts, hijack DLLs, overwrite system configuration files, and achieve persistent remote code execution. The built-in path validation function is logically broken and cannot block traversal payloads, resulting in failed defense-in-depth.
Source⚠️ https://gitee.com/yhx070424/MantisZip/issues/IK4AHB
User
 0n1on (UID 100116)
Submission07/26/2026 19:05 (2 months ago)
Moderation09/23/2026 20:19 (2 months later)
StatusAccepted
VulDB entry409081 [MantisZip up to 0.4.5 Preview MainWindow.UI.cs Path.Combine path traversal]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!