Directory Traversal RCE in RARLAB WinRAR
CVE-2025-6218 is a directory traversal vulnerability in RARLAB WinRAR for Windows versions 7.11 and earlier. Insufficient validation of relative paths embedded in archive entries allows specially crafted archives to extract files outside the intended destination directory. Crafted paths, including paths using spaces to bypass filtering, can place malicious files in attacker-selected locations accessible to the current user. Placement in an automatically executed location, such as the Windows Startup folder, can lead to arbitrary code execution. Exploitation requires user interaction. Formerly tracked as ZDI-CAN-27198, this vulnerability is distinct from the Alternate Data Streams-based CVE-2025-8088 and was fixed in WinRAR 7.12.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits unauthorized file placement outside the extraction directory and can lead to arbitrary code execution with the logged-in user's privileges. An attacker can establish persistence by placing a payload in the user's Startup folder for execution at a subsequent login. Resulting compromise can expose data and resources accessible to that user; the vulnerability does not itself establish elevated privileges. Exploitation in the wild has been reported.
If you can’t patch tonight, do this now.
Until updates are deployed, avoid extracting untrusted or unexpected archives with affected WinRAR versions and quarantine suspicious archive attachments where feasible. Monitor for unexpected file creation in Startup locations and subsequent script or shortcut-triggered execution. These measures reduce exposure but do not replace patching.
Patch, then assume compromise.
Upgrade WinRAR for Windows to version 7.12 or later to fix CVE-2025-6218. Prefer the latest supported release; version 7.13 also addresses the separate, actively exploited CVE-2025-8088. Inventory installations and deploy the update across endpoints, since WinRAR does not automatically update.
4 exploits validated by Mallory's analysis. Hidden: 4 rejected by Mallory's analysis as not a working exploit.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
143 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.