Security Resilience

CVE-2018-20250

Path Traversal in Rarlab Winrar ≤ 5.61

CISA KEVActive ExploitationEUVD ExploitedPublic PoCRansomware-linkedPath Traversal
Published
05 February 2019
Modified
13 August 2026
KEV Added
15 February 2022
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.96 99.9th percentile
Risk Priority 83 floored blend · peak EPSS

CVSS 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

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

T1003.008 /etc/passwd and /etc/shadow Credential Access
Adversaries may attempt to dump the contents of <code>/etc/passwd</code> and <code>/etc/shadow</code> to enable offline password cracking.
T1087 Account Discovery Discovery
Adversaries may attempt to get a listing of valid accounts, usernames, or email addresses on a system or within a compromised environment.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1554 Compromise Host Software Binary Persistence
Adversaries may modify host software binaries to establish persistent access to systems.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-6218Same product: Rarlab Winrarboth on KEV
CVE-2021-38163Shared CWE-22both on KEV
CVE-2021-40444Shared CWE-22both on KEV
CVE-2022-26500Shared CWE-22both on KEV
CVE-2014-0780Shared CWE-22both on KEV
CVE-2023-35081Shared CWE-22both on KEV
CVE-2021-20123Shared CWE-22both on KEV
CVE-2024-1708Shared CWE-22both on KEV
CVE-2016-0752Shared CWE-22both on KEV
CVE-2020-11652Shared CWE-22both on KEV

Affected Assets

rarlab
winrar
≤ 5.61

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • 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.

addresses: CWE-22

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.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require input validation and path sanitization that prevent absolute path traversal.

PR.PS-02 partial match
blocks

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.

finds

Security testing in development can detect absolute path traversal via static analysis and fuzzing.

prevents

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.

prevents

Secure coding standards directly require neutralization of absolute path sequences in pathname construction.

prevents

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.

finds

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.

References