Tia N.List

KEV catalog · CISA Known Exploited Vulnerabilities

CVE-2023-38831 7.8
RARLAB · WinRAR · Added 2023-08-24 · Published 2023-08-23
3-Day Required PoC Available KEV Active Exploitation

Details

VulnerabilityRARLAB WinRAR Code Execution Vulnerability
VendorRARLAB
ProductWinRAR
Date added2023-08-24
Due date2023-09-14
Required actionApply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CWECWE-345 CWE-351
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS 0.2900 · 99th percentile · 2026-11-29 · 7d -0.7081
EPSS trend 0.9980 → 0.2900 -0.7080 over 21 observations
Descriptions

KEV: RARLAB WinRAR contains an unspecified vulnerability that allows an attacker to execute code when a user attempts to view a benign file within a ZIP archive.

NVD: RARLAB WinRAR before 6.23 allows attackers to execute arbitrary code when a user attempts to view a benign file within a ZIP archive. The issue occurs because a ZIP archive may include a benign file (such as an ordinary .JPG file) and also a folder that has the same name as the benign file, and the contents of the folder (which may include executable content) are processed during an attempt to access only the benign file. This was exploited in the wild in April through October 2023.

Compliance SSVC + BOD 26-04

Automatableno
Technical impacttotal
Exploitation statusactive
3-day qualifyingYes
Public timeline3 days + forensic
Non-public timeline14 days
Forensic (public)Required
Forensic (non-public)Not required

Research metadata

Last researched2026-09-11 04:45 UTC
Wall time45.0s
Searches8
Component defaultyes

Hunting hypothesis agent

Hunt endpoint process telemetry for winrar.exe spawning cmd.exe to run a .cmd/.bat in %TEMP% whose name collides with a folder entry (e.g. 'doc.pdf .cmd'); Sysmon EID 1/11 or EDR is required, stock logs cannot see it.

Research details

ComponentUnRAR.dll ShouldExtractArchiveEntry temporary-expansion name-collision handler
PreconditionsThe primary precondition is the installation of a vulnerable version of WinRAR (prior to version 6.23) on a Windows system. WinRAR's shell extension (UnRAR.dll) processes ZIP archives and provides preview/double-click functionality that is active by default. An attacker must craft a malicious ZIP archive containing at least two entries: a benign file (e.g., a .JPG, .PDF, or .TXT file) and a folder with exactly the same name as that file. Inside the folder, the attacker places an executable payload (e.g., a .CMD, .SCR, or .EXE file, or a script). The attack succeeds when a user with a vulnerable WinRAR version opens the crafted archive and attempts to view the benign file — either by double-clicking it within WinRAR, using WinRAR's built-in preview pane, or extracting and opening it. The vulnerability lies in how WinRAR resolves name collisions: when a file and a folder share the same name, WinRAR incorrectly executes the folder's contents instead of displaying the benign file. No special privileges are required beyond the user's existing session context. The exploitation does not require administrator rights or bypassing User Account Control, though the executed payload runs with the privileges of the logged-on user. The attacker must convince the target to download and open the malicious ZIP archive, which is typically achieved through social engineering via phishing emails, compromised websites, or file-sharing platforms. The vulnerability was exploited in the wild as a zero-day from April to October 2023 before a patch was available, with multiple APT groups and cybercriminal organizations incorporating it into their toolkits. agent
DeliveryMalicious ZIP/RAR archive containing a benign decoy file and a same-named directory that holds a .cmd/.bat/.exe. When a user opens the decoy inside WinRAR (<6.23), WinRAR expands both the file and the directory contents into %TEMP%\<random>\ and ShellExecute's default-extension search runs the folder's script.
Public PoCyes
Exploit notesCVSS 7.8 (HIGH) with Attack Vector: LOCAL, Attack Complexity: LOW, Privileges Required: NONE, User Interaction: REQUIRED. The vulnerability is straightforward to exploit once the archive structure is understood. Multiple public PoC scripts in Python and other languages automate the creation of malicious archives, making exploitation accessible to low-skill attackers. Social engineering is required to deliver the archive and convince the user to open it. The underlying flaw was discovered independently by Group-IB and Google TAG, who observed active exploitation in the wild. While the CVSS score is 7.8 due to the local attack vector and required user interaction, the actual exploitation difficulty is very low once the crafted archive reaches the target. Microsoft added detection signatures (Exploit:Win32/CVE-2023-38831) and Rapid7/Metasploit incorporated an exploit module. The vulnerability was actively used by sophisticated APT groups and cybercriminal actors alike, demonstrating reliable exploitability across diverse target environments. The public PoCs are functional archive generators (e.g. b1tg's exp-gen.py and the Rapid7 Metasploit module) that build the decoy/'decoy.cmd' pair. Detection is endpoint-only: process creation with winrar.exe as parent launching cmd.exe or a script from %TEMP%, and file creation of an executable whose name shares a prefix with a sibling directory. Network/HTTP logs will not surface the exploit.
SummaryCVE-2023-38831 is a high-severity (CVSS 7.8) code execution vulnerability in RARLAB WinRAR versions prior to 6.23, affecting the ZIP archive extraction handler in UnRAR.dll. The flaw involves a folder-file name collision technique: when a ZIP archive contains both a benign file (e.g., 'document.pdf') and a folder with an identical name ('document.pdf/'), WinRAR incorrectly processes the executable contents of the folder when the user attempts to view the benign file. This allows attackers to craft malicious archives that appear to contain harmless documents but silently execute malware. The vulnerability was actively exploited in the wild as a zero-day from at least April 2023, with Google's Threat Analysis Group confirming exploitation by multiple government-backed hacking groups including APT29 (Russian SVR) and APT40 (Chinese state-sponsored), as well as by cybercriminal groups tracked by Group-IB. Ukrainian CERT (NCCC) also reported APT29 using this vulnerability in phishing campaigns targeting embassies with BMW-themed lures. Multiple public proof-of-concept exploits exist on GitHub, a Metasploit module was released, and Microsoft added active detection signatures. The fix was released in WinRAR version 6.23 on July 20, 2023. Despite the availability of patches, the vulnerability continues to be exploited against unpatched systems due to the widespread use of WinRAR and the effectiveness of phishing-based delivery. Defense strategies include upgrading to WinRAR 6.23 or later, monitoring for suspicious ZIP archives with folder-file name collision patterns, and blocking executable content extracted from archives at network and endpoint levels.

Tia coverage

First reported2026-05-15

When Tia's reporting first covered this CVE and whether a report claimed exploitation before the KEV listing. Lead-time deltas are measured from the exploitation report only — plain coverage is not exploitation intel. See the story links under Mentioned in for coverage detail.

Mentioned in

frostyneighbor-unc1151-deploys-cobalt-strike-via-scheduled-tasks

Record schema v1.0. Enrichment is research-grade, not a substitute for analyst review.

Source on GitHub