CVE-2022-44900Py7zr Project Py7zr
Critical 9.1 No auth needed
Follow: this CVE · Py7zr Project · Py7zr Project Py7zr We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Dec 6, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
A directory traversal vulnerability in the SevenZipFile.extractall() function of the python library py7zr v0.20.0 and earlier allows attackers to write arbitrary files via extracting a crafted 7z file.
What to do
- Apply the vendor's security update for Py7zr.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | py7zr |
< 0.20.1 |
0.20.1 |
pip install "py7zr>=0.20.1" |
| PyPI | py7zr |
< 0.20.1 |
0.20.1 |
pip install "py7zr>=0.20.1" |
Per OSV / GitHub Advisories (GHSA-m8xw-9x5x-6vh3, PYSEC-2022-42998). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| py7zr_project | py7zr | < 0.20.1 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- github.com Patch Third Party Advisory
- lessonsec.com Exploit Third Party Advisory