Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-6218: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in RARLAB WinRAR

0
High
VulnerabilityCVE-2025-6218cvecve-2025-6218cwe-22
Published: Sat Jun 21 2025 (06/21/2025, 00:09:02 UTC)
Source: CVE Database V5
Vendor/Project: RARLAB
Product: WinRAR

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 04:10:40 UTC

Technical Analysis

CVE-2025-6218 is a path traversal vulnerability classified under CWE-22 affecting RARLAB WinRAR version 7.11 (64-bit). The vulnerability stems from improper handling of file paths within archive files, where crafted file paths can cause the extraction process to traverse directories outside the intended extraction folder. This allows an attacker to place malicious files in arbitrary locations on the victim’s system. When a user opens a maliciously crafted archive or visits a malicious webpage that triggers archive extraction, the attacker can execute arbitrary code with the privileges of the current user. The vulnerability requires user interaction but does not require prior authentication, increasing its risk. The CVSS v3.0 base score is 7.8, reflecting high impact on confidentiality, integrity, and availability, with low attack complexity and no privileges required. Although no exploits are currently known in the wild, the vulnerability poses a significant risk due to the widespread use of WinRAR globally. The flaw was reported by ZDI under identifier ZDI-CAN-27198 and publicly disclosed on June 21, 2025. No official patches have been linked yet, so users must rely on mitigations or updates once available.

Potential Impact

The vulnerability enables attackers to execute arbitrary code remotely with the privileges of the user opening the malicious archive, potentially leading to full system compromise. This can result in unauthorized data access, data modification, installation of persistent malware, or disruption of system availability. Since WinRAR is widely used for file compression and decompression, many organizations and individuals are at risk, especially those who frequently handle archives from untrusted sources. The requirement for user interaction limits automated exploitation but does not eliminate risk, as social engineering can induce users to open malicious files. The impact is severe in environments where users have elevated privileges or where sensitive data is processed. Additionally, exploitation could facilitate lateral movement within networks if attackers gain footholds on endpoint systems.

Mitigation Recommendations

Organizations should immediately update WinRAR to the latest version once a patch addressing CVE-2025-6218 is released by RARLAB. Until then, users should avoid opening archives from untrusted or unknown sources. Implement application whitelisting to restrict execution of unauthorized binaries that could be dropped by malicious archives. Employ endpoint detection and response (EDR) solutions to monitor for suspicious file system activity indicative of path traversal exploitation. Educate users on the risks of opening unsolicited archive files and visiting untrusted websites. Network-level controls such as web filtering and email gateway scanning can help block malicious archives before reaching end users. Consider running WinRAR with least privilege and in sandboxed environments where possible to limit impact of exploitation. Regularly audit and monitor file system changes to detect anomalous file placements.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
zdi
Date Reserved
2025-06-17T21:51:12.763Z
Cvss Version
3.0
State
PUBLISHED

Threat ID: 68568e80aded773421b5a78b

Added to database: 6/21/2025, 10:50:40 AM

Last enriched: 2/27/2026, 4:10:40 AM

Last updated: 3/24/2026, 4:02:39 PM

Views: 184

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses