CVE-2022-30333RARLAB UnRAR
Directory Traversal in UnRAR for Linux and UNIX
High 7.5 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · RARLAB · RARLAB UnRAR We alert you by email or Slack (account required).
- Priority
- 81
- CVSS 3.1
- 7.5
- EPSS
- 55.4% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- In KEV since
- Aug 9, 2022
- CISA deadline
- Aug 30, 2022
- Ransomware use
- Confirmed
- Published
- May 9, 2022
- Updated
- Oct 2, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
UnRAR before version 6.12 on Linux and UNIX allows an unauthenticated attacker to write files outside the target directory during RAR extraction. An attacker could create or overwrite critical files such as ~/.ssh/authorized_keys to gain system access. CISA confirmed this vulnerability is actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
RARLAB UnRAR on Linux and UNIX contains a directory traversal vulnerability, allowing an attacker to write to files during an extract (unpack) operation.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available · fixed versions: 6.12
Update UnRAR to version 6.12 or later on all affected Linux and UNIX systems.
- Apply the vendor's security update for UnRAR.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was August 30, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rarlab | unrar | < 6.12 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- blog.sonarsource.com Exploit Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.rarlab.com Patch
- www.rarlab.com Product
- www.cisa.gov US Government Resource