Actively exploited vulnerability / CVE-2022-30333
UnRAR on Linux and UNIX: a crafted archive can write files anywhere on a server
This flaw lets an attacker prepare a RAR archive that, when unpacked, writes or replaces files outside the intended folder, including files that control access to the system. For a business, this can mean an attacker gaining access to a server or to applications that automatically process incoming archives. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2022-30333 · EUVD-2022-52276
- Severity
- High (7.5/10)
- On the CISA list (US)
- yes, since 9 August 2022
- Deadline given to US federal agencies
- 30 August 2022
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 55.4% (FIRST's estimate for the next 30 days)
Does it concern you?
UnRAR is a tool for extracting RAR files on Linux and UNIX systems, often found on servers, including inside email, collaboration or antivirus scanning software that opens attachments automatically. WinRAR on Windows and RAR for Android are not affected.
UnRAR versions earlier than 6.12 on Linux and UNIX are affected. The version is usually shown when you run the program without options; if unsure, ask your system administrator or the supplier of software that uses UnRAR.
Affected products and versions
- RARLAB UnRAR
- unrar: before 6.12
What to do
Update UnRAR to version 6.12 or later, following the vendor's instructions. Also check for updates to any applications that bundle UnRAR.
Versions that contain the fix: 6.12.
The official description
The text below is the description from the public database.
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.
Sources
- Debian Security Tracker
- CVE Program
- GitHub Advisory Database
- Vendor advisory: rarlab.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.