---
id: "CVE-2022-30333"
kind: "vulnerability"
aliases: ["CVE-2022-30333"]
title: "RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka\u2026"
severity: "critical"
cvss: 9.8
epss: 0.99233
exploited: true
status: "open"
category: "package"
products: [{"name": "rarlab unrar", "fixed": ["6.12"], "affected": "< 6.12", "ecosystem": "vendor"}, {"name": "debian linux", "fixed": [], "affected": "= 10.0", "ecosystem": "vendor"}, {"name": "RARLAB UnRAR", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "linux", "package", "ransomware", "self-hosted", "unix", "unrar"]
not_affected_if: ["no-archive-extraction", "windows-only"]
published_at: "2022-05-09T08:15:06+00:00"
first_seen_at: "2026-10-23T19:11:52+00:00"
updated_at: "2026-10-24T00:09:51+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-30333", "first_seen_at": "2026-10-23T19:11:52+00:00"}, {"source": "epss", "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-30333", "first_seen_at": "2026-10-23T19:13:45+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-30333", "first_seen_at": "2026-10-23T22:29:04+00:00"}]
---

# RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka…

RARLAB UnRAR on Linux and UNIX has a directory traversal flaw that lets a crafted RAR archive write files outside the extraction directory during unpacking. An attacker who gets a victim to extract a malicious archive can overwrite files on the system.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:rarlab unrar affected < 6.12 fixed 6.12
- vendor:debian linux affected = 10.0 fixed ?
- vendor:RARLAB UnRAR affected ? fixed ?

## Fix

Apply the vendor update for UnRAR per the RARLAB instructions referenced by CISA; the fixed version is unknown from the sources.

## Timeline

- 2026-10-23T19:11:52+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-30333
- 2026-10-23T19:13:45+00:00 epss https://api.first.org/data/v1/epss?cve=CVE-2022-30333
- 2026-10-23T22:29:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2022-30333

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
