CVE-2018-20250
Path Traversal in Rarlab Winrar ≤ 5.61
Raw vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2018-20250 is a high-severity Absolute Path Traversal (CWE-36) vulnerability in Rarlab Winrar. Its CVSS base score is 7.8 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 0.1% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog; a public proof-of-concept is referenced.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
In WinRAR versions prior to and including 5.61, a path traversal vulnerability exists in the handling of the ACE archive format within UNACEV2.dll. By manipulating the filename field with specific patterns, an attacker can cause the extraction routine to ignore the user-specified destination folder and treat the supplied path as absolute, corresponding to CWE-36 and CWE-22.
The flaw can be exploited by an attacker who supplies a crafted ACE archive to a local user. With low attack complexity and no privileges required, successful exploitation allows arbitrary file writes outside the intended extraction directory, resulting in high impact to confidentiality, integrity, and availability as reflected in the CVSS 7.8 score.
Public references document working proof-of-concept code, a Metasploit module, and detailed technical analysis demonstrating remote code execution via malicious archives, confirming the issue has been weaponized in public tooling.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2018-12813
Vulnerability Data
In WinRAR versions prior to and including 5.61, There is path traversal vulnerability when crafting the filename field of the ACE format (in UNACEV2.dll). When the filename field is manipulated with specific patterns, the destination (extraction) folder is ignored, thus…
more
treating the filename as an absolute path.
- CWE(s)
- KEV Date Added
- 15 February 2022
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V5.3.2
Likely Mitigating Controls
Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Validates pathnames and filenames to prevent traversal outside intended directories.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require input validation and path sanitization that prevent absolute path traversal.
Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing in development can detect absolute path traversal via static analysis and fuzzing.
Training developers about path traversal risks (including absolute path sequences) reduces some instances of this implementation defect, but the practice is fallible and the strongest control is security testing (A.8.29) or secure coding (A.8.28), so only a minority of instances are prevented.
Secure coding standards directly require neutralization of absolute path sequences in pathname construction.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25–8.29), so a faithful implementation reduces ordinary implementation-phase code defects like absolute path traversal in delivered code the way those practices do; the clause's ceiling on this verb is `partial`, matching the CWE-134 anchor.
A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. CWE-36 is an implementation defect in first-party code (path construction without neutralizing absolute path sequences), discovered in practice by static analysis of source or dynamic testing of the running system, neither of which A.8.8 names. Where the defect surfaces as a CVE in a third-party component, A.8.8's scanning and inventory reach finds it; the bulk of latent instances in first-party code are outside its view, matching the A.8.8 -> CWE-89 anchor's reasoning.