CVE-2018-20250: WinRAR ACE Archive Extraction Path Traversal
- Vendor
- WinRAR GmbH
CVE-2018-20250 is a path traversal vulnerability in the bundled UNACE ACE extraction library used by WinRAR through version 5.61. Specially crafted patterns in an ACE archive entry's filename bypass path filtering, causing the extractor to treat the entry as an absolute path and ignore the user-selected extraction directory. This permits files to be written to attacker-selected locations, including the Windows Startup folder or application add-in directories, potentially enabling arbitrary code execution and persistence. Malicious ACE archives can trigger the vulnerability even when disguised with a RAR extension.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can create or overwrite files outside the intended extraction directory, subject to the extracting process's filesystem permissions. Placing a malicious executable in the user's Startup folder enables execution at a subsequent login; placing a malicious Word add-in in its loading directory can enable execution when Word opens a document. Observed exploitation has deployed backdoors and information stealers, enabling remote control, credential theft, and data exfiltration. These downstream capabilities depend on the delivered payload rather than being intrinsic to the path traversal flaw.
Mitigation
If you can’t patch tonight, do this now.
If upgrading is not possible, remove UNACEV2.DLL from the WinRAR installation to disable vulnerable ACE archive handling while preserving other normal archive functionality. Avoid extracting untrusted archives, and do not rely on a RAR extension to establish the underlying archive format.
Remediation
Patch, then assume compromise.
Upgrade WinRAR to the latest supported version. WinRAR 5.70 is the fixed stable release, and the fix was first available in WinRAR 5.70 Beta 1.
Exploits
2 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-20250 exploited in the wild?
- Yes. As of Nov 28, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Feb 15, 2022.
- Is there a public exploit for CVE-2018-20250?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2018-20250, the earliest disclosed Feb 5, 2019.
- Is there a patch for CVE-2018-20250?
- Upgrade WinRAR to the latest supported version. WinRAR 5.70 is the fixed stable release, and the fix was first available in WinRAR 5.70 Beta 1.
- What products are affected by CVE-2018-20250?
- WinRAR GmbH Winrar.
- How severe is CVE-2018-20250?
- CVE-2018-20250 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 96.0% (100th percentile) as of Nov 28, 2026.
Recent activity
30 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.