Live threats

All CVEs / Py7zr Project

CVE-2022-44900Py7zr Project Py7zr

Critical 9.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Py7zr.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
py7zr_projectpy7zr< 0.20.1

Official sources

References

Links published by the sources. Open them with care.