CVE-2022-30333: Directory traversal in RARLAB UnRAR on Linux and UNIX
- Vendors
- Debian ProjectWinRAR GmbH
CVE-2022-30333 is a directory traversal vulnerability in RARLAB UnRAR before version 6.12 on Linux and UNIX. During extraction of a crafted RAR archive, malicious archive paths can cause files to be created or overwritten outside the intended extraction directory. Zimbra Collaboration Suite deployments that use vulnerable UnRAR versions to inspect email attachments expose this vulnerability through automatic archive extraction during spam or malware checks. WinRAR and Android RAR are unaffected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can create or overwrite files outside the extraction destination, compromising filesystem integrity. Sensitive SSH authorization material is one demonstrated target. In affected Zimbra deployments, malicious email attachments can trigger these writes during server-side inspection without the recipient opening or extracting the attachment. Exploitation against Zimbra Collaboration Suite has been observed.
Mitigation
If you can’t patch tonight, do this now.
Avoid extracting suspicious or untrusted RAR archives with vulnerable UnRAR versions. For Zimbra deployments, replace UnRAR-based attachment extraction with the vendor-supported 7zip configuration. Investigate potentially compromised servers; quarantine and reimage compromised hosts and replace affected account credentials.
Remediation
Patch, then assume compromise.
Upgrade RARLAB UnRAR to version 6.12 or later. For Zimbra Collaboration Suite, apply current vendor updates and ensure attachment processing uses the vendor's configuration change to 7zip instead of UnRAR.
Exploits
4 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-30333 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 9, 2022.
- Is there a public exploit for CVE-2022-30333?
- Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2022-30333, the earliest disclosed Jun 28, 2022.
- Is there a patch for CVE-2022-30333?
- Upgrade RARLAB UnRAR to version 6.12 or later. For Zimbra Collaboration Suite, apply current vendor updates and ensure attachment processing uses the vendor's configuration change to 7zip instead of UnRAR.
- What products are affected by CVE-2022-30333?
- WinRAR GmbH Unrar and Debian Project Debian Linux.
- How severe is CVE-2022-30333?
- CVE-2022-30333 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 55.4% (99th percentile) as of Oct 16, 2026.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.