CVE-2022-30333: RARLAB UnRAR Directory Traversal Vulnerability
CVE-2022-30333 is a high-severity flaw (CVSS 7.5) affecting unrar, debian linux, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
Why this priority
- High severity
- EPSS top 1%: very likely to be exploited
- Exploited in the wild (CISA KEV)
- Used in ransomware campaigns
- Public exploit reference
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Last updated 2026-10-02 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Exploited Added to the CISA Known Exploited Vulnerabilities list
- Deadline CISA due date for US federal agencies to patch
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: rbowes-r7/unrar-cve-2022-30333-poc (14 stars)
- GitHub PoC: TheL1ghtVn/CVE-2022-30333-PoC (13 stars)
- GitHub PoC: aslitsecurity/Zimbra-CVE-2022-30333 (7 stars)
- Write-up: blog.sonarsource.com/zimbra-pre-auth-rce-via-unrar-0day/
- GitHub PoC: J0hnbX/CVE-2022-30333
- Metasploit: UnRAR Path Traversal (CVE-2022-30333)
- Metasploit: UnRAR Path Traversal in Zimbra (CVE-2022-30333)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-30333?
unrar: upgrade to 6.12; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2022-30333 being exploited?
Yes. CVE-2022-30333 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.
What does CVE-2022-30333 affect?
CVE-2022-30333 affects unrar, debian linux. Severity is high (CVSS 7.5). RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
How urgent is CVE-2022-30333?
Priority 99/100. High severity; EPSS top 1%: very likely to be exploited; Exploited in the wild (CISA KEV); Used in ransomware campaigns; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Debian vulnerabilities · Android vulnerabilities · WinRAR vulnerabilities
Related CVEs
- CVE-2022-48579 HIGH 7.5 UPGRADE UnRAR before 6.2.3 allows extraction of files outside of the destination folder via symlink chains.
- CVE-2018-25018 HIGH 7.8 UPGRADE UnRAR 5.6.1.7 through 5.7.4 and 6.0.3 has an out-of-bounds write during a memcpy in QuickOpen::ReadRaw when ca
- CVE-2017-20006 HIGH 7.8 DOWNGRADE UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5
- CVE-2017-14122 CRITICAL 9.1 DOWNGRADE MITIGATE unrar 0.0.1 (aka unrar-free or unrar-gpl) suffers from a stack-based buffer over-read in unrarlib.c, related t
- CVE-2017-14121 MEDIUM 5.5 DOWNGRADE MITIGATE The DecodeNumber function in unrarlib.c in unrar 0.0.1 (aka unrar-free or unrar-gpl) suffers from a NULL point