LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2022-30333: RARLAB UnRAR Directory Traversal Vulnerability

RBRecent Breaches Vulnerability Intelligence·Aug 9, 2022
Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
Aug 30, 2022
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2022-30333 to its Known Exploited Vulnerabilities catalog on Aug 9, 2022, with a federal patch deadline of Aug 30, 2022 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

RARLAB UnRAR on Linux and UNIX contains a directory traversal vulnerability, allowing an attacker to write to files during an extract (unpack) operation.

CVE-2022-30333 is a directory traversal vulnerability in RARLAB UnRAR on Linux and UNIX systems. It allows an attacker to write files outside the intended extraction path during an unpack operation. Because UnRAR is commonly used in automated pipelines, mail gateways, and forensic or backup workflows, successful abuse can overwrite critical files or drop malicious content. CISA notes known ransomware use of this issue, so timely remediation matters for any environment that processes untrusted RAR archives.

How it works

The flaw belongs to the directory-traversal and link-following classes (CWE-22 and CWE-59). When UnRAR extracts an archive, it fails to adequately sanitize or constrain path components and symbolic links supplied inside the archive. An attacker who can supply a crafted RAR file can therefore cause the extractor to write (or overwrite) files at locations chosen by the attacker rather than remaining inside the target directory. On Linux and UNIX hosts this can affect system configuration, service binaries, or user data, depending on the privileges under which UnRAR runs. Exact exploit mechanics and preconditions must be confirmed against the vendor advisory; defenders should treat any untrusted archive processed by a vulnerable UnRAR binary as a potential write primitive.

Am I affected? How to find it in your systems

UnRAR appears on Linux and UNIX systems wherever RAR archives are handled—mail attachment scanners, CI/CD artifact unpackers, backup restore tools, security appliances, and developer workstations. Inventory steps include:

Telemetry signs of exploitation are limited to unexpected file writes outside extraction directories, creation of suspicious symlinks, or process activity that unpacks RARs from untrusted sources. Correlate file-integrity monitoring alerts, audit logs of write operations by the unrar process, and any subsequent anomalous process launches.

How to remediate

Patch first. Apply the updates supplied by RARLAB according to the vendor instructions, as required by CISA. After updating:

If you can't patch immediately

Reduce exposure until the vendor update can be deployed:

If your data may have been exposed

Actively exploited vulnerabilities, including those with documented ransomware use, frequently lead to broader compromise and data theft. If you have evidence that crafted archives were processed by a vulnerable UnRAR instance, treat the host as potentially breached: isolate it, preserve forensic images, and begin incident-response procedures. As a quick additional check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information have already appeared in public dumps.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedRARLAB · UnRAR
WeaknessCWE-22
Added to CISA KEVAug 9, 2022
Federal patch deadlineAug 30, 2022
Known ransomware useYes
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities