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: 8.4 [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]
CVE-ID: CVE-2025-6218
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

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.


Affected software

WinRAR

How to mitigate CVE-2025-6218

Install updates from vendor's website.

WinRAR - update to 7.11

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins