Description
RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of RARLAB WinRAR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the handling of file paths within archive files. A crafted file path can cause the process to traverse to unintended directories. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-27198.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| RARLAB | WinRAR | 7.11 (64-bit) | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 6 repositories
-
skimask1690/CVE-2025-6218-POC ★ 30 · Jul 1, 2025
Proof of Concept for CVE-2025-6218, demonstrating the exploitation of a vulnerability in WinRAR versions 7.11 and under, involving improper handling of archive extraction paths.
-
absholi7ly/CVE-2025-6218-WinRAR-Directory-Traversal-RCE ★ 19 · Jul 10, 2025
CVE-2025-6218 is a directory traversal vulnerability in WinRAR that allows an attacker to place files outside the intended extraction directory when a user extracts a specially crafted
-
speinador/CVE-2025-6218_WinRAR ★ 16 · Jun 27, 2025
-
ignis-sec/CVE-2025-6218 ★ 12 · Jun 29, 2025
A simple proof of concept for WinRAR Path Traversal | RCE | CVE-2025-6218
-
mulwareX/CVE-2025-6218-POC ★ 10 · Jul 3, 2025
RARLAB WinRAR Directory Traversal Remote Code Execution
-
Chrxstxqn/CVE-2025-6218-WinRAR-RCE-POC ★ 2 · Dec 15, 2025
Comprehensive analysis and proof-of-concept for CVE-2025-6218 - WinRAR path traversal RCE vulnerability affecting versions 7.11 and earlier
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2025-1375 WinRAR: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Dec 9, 2025
References
- ZDI-25-409
- vendor-provided URL vendor-advisory