Path traversal in WinRAR - CVE-2025-6218

 

Path traversal in WinRAR - CVE-2025-6218

Published: June 20, 2025 / Updated: January 4, 2026


Vulnerability identifier: #VU111537
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2025-6218
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: RARLAB
Affected software:
WinRAR

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences within the handling of file paths within archive files. A remote attacker can trick a victim to open a specially crafted archive and write files to arbitrary directories on the system, leading to arbitrary code execution.


How to mitigate CVE-2025-6218

Install updates from vendor's website.

Sources