CVE-2018-20251 in Rarlab Winrar
In WinRAR versions prior to and including 5.61, there is path traversal vulnerability when crafting the filename field of the ACE format. The UNACE module (UNACEV2.dll) creates files and folders as written in the filename field even when WinRAR validator noticed the traversal attempt and requestd to abort the extrac...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Rarlab | Winrar | ≤ 5.61 |
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.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
In WinRAR versions prior to and including 5.61, there is path traversal vulnerability when crafting the filename field of the ACE format. The UNACE module (UNACEV2.dll) creates files and folders as written in the filename field even when WinRAR validator noticed the traversal attempt and requestd to abort the extraction process. the operation is cancelled only after the folders and files were created but prior to them being written, therefore allowing the attacker to create empty files and folders everywhere in the file system.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-20251 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-128297-M |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| Published | 2019-02-05 |
| 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.
CWE-693: CWE-693
Related attack patterns (CAPEC)
CAPEC-51 Poison Web Service Registry via CWE-693
CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data via CWE-693
CAPEC-59 Session Credential Falsification through Prediction via CWE-693
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-65 Sniff Application Code via CWE-693
Show all 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-107 Cross Site Tracing via CWE-693
CAPEC-127 Directory Indexing via CWE-693
CAPEC-237 Escaping a Sandbox by Calling Code in Another Language via CWE-693
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-693
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-693
CAPEC-17 Using Malicious Files via CWE-693
CAPEC-20 Encryption Brute Forcing via CWE-693
CAPEC-36 Using Unpublished Interfaces or Functionality via CWE-693
CAPEC-87 Forceful Browsing via CWE-693
CAPEC-126 Path Traversal via CWE-22
CAPEC-480 Escaping Virtualization via CWE-693
CAPEC-668 Key Negotiation of Bluetooth Attack (KNOB) via CWE-693
CAPEC-22 Exploiting Trust in Client via CWE-693
CAPEC-74 Manipulating State via CWE-693
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Rarlab systems (CVE-2018-20251). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: In WinRAR versions prior to and including 5.61, there is path traversal vulnerability when crafting the filename field of the ACE format. The UNACE module (UNACEV2.dll) creates files and folders as written in the filename field even when WinRAR validator noticed the traversal attempt and requestd to abort the extraction process. the operation is cancelled only after the folders and files were created but prior to them being written, therefore allowing the attacker to create empty files and folde CVSS vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
Questions
What is CVE-2018-20251?
This vulnerability was disclosed in 2019. A medium severity vulnerability affects Rarlab systems (CVE-2018-20251). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2018-20251?
CVE-2018-20251 has CVSS 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N. EPSS: 31.4%.
Is CVE-2018-20251 actively exploited?
No confirmed active exploitation of CVE-2018-20251 as of 2026-09-25.
How do I remediate CVE-2018-20251?
Priority: MONITOR. PSIRT: [email protected]
What systems are affected by CVE-2018-20251?
CVE-2018-20251 affects Rarlab Winrar.
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.