CVE-2025-6218 in Rarlab Winrar and 1 more product
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. ...
Affects 2 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rarlab | Winrar | < 7.12 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Yes added 2025-12-09 |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-6218 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-270647-H |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2025-06-21 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
The RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability (CVE-2025-6218) allows remote attackers to execute arbitrary code on affected installations of WinRAR by leveraging a crafted file path within an archive. User interaction is required to exploit this vulnerability, such as visiting a malicious page or opening a malicious file. The vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog with a public proof of concept available.
The vulnerability exists in the handling of file paths within archive files. A crafted file path can cause the process to traverse to unintended directories, allowing an attacker to execute code in the context of the current user. The attack requires user interaction, such as opening a malicious file or visiting a malicious web page.
Compensating controls AI-drafted, review before use
Implement strict file path validation and restrict the ability to traverse directories beyond the intended location. Ensure that users have the least privilege necessary to perform their tasks.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2025-6218?
The RARLAB WinRAR Directory Traversal Remote Code Execution Vulnerability (CVE-2025-6218) allows remote attackers to execute arbitrary code on affected installations of WinRAR by leveraging a crafted file path within an archive. User interaction is required to exploit this vulnerability, such as visiting a malicious page or opening a malicious file. The vulnerability has a CVSS score of 7.8 and is listed in the KEV catalog with a public proof of concept available.
What is the CVSS score for CVE-2025-6218?
CVE-2025-6218 has CVSS 7.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 2.8%.
Is CVE-2025-6218 actively exploited?
Yes. CVE-2025-6218 is in the CISA known-exploited catalog (added 2025-12-09). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2025-6218?
Priority: HIGH.
What systems are affected by CVE-2025-6218?
CVE-2025-6218 affects Rarlab Winrar.
What NERC-CIP standard applies to CVE-2025-6218?
NERC CIP CIP-007 CIP-007-R2: This vulnerability could allow an attacker to execute arbitrary code, which could compromise the integrity and availability of critical systems, violating the requirement for secure access controls.
What IEC 62443 requirement maps to CVE-2025-6218?
IEC 62443 SR 7.6: This vulnerability involves the execution of unauthorized code, which directly impacts the security requirements for preventing unauthorized access and ensuring the integrity of industrial control systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Rarlab","product":"Winrar","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.