# CVE-2022-44900: py7zr directory traversal vulnerability

Source: https://junglewise.ai/threats/cve-2022-44900-py7zr-directory-traversal-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-12-06  
License: CC BY 4.0 with a link back

CVE-2022-44900 · Severity: low · CVSS 3.1 · Published 2022-12-06

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.

Technologies: [py7zr (PyPI)](https://junglewise.ai/threats/technologies/py7zr). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-44900 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-44900 being exploited in the wild.

**How severe is CVE-2022-44900?** Low severity, with a CVSS score of 3.1, published 6 December 2022.

**Which products and versions are affected?** py7zr (PyPI) ECOSYSTEM:introduced=0,fixed=0.20.1, GIT:introduced=0,fixed=1bb43f17515c7f69673a1c88ab9cc72a7bbef406|ECOSYSTEM:introduced=0,fixed=0.20.1.

**Is there a fix for CVE-2022-44900?** Yes. py7zr (PyPI): upgrade to 0.20.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-44900?** Check whether you run py7zr (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- py7zr (PyPI): upgrade to 0.20.1 or later

  ```sh
  pip install "py7zr>=0.20.1"
  ```


## Affected products

- py7zr (PyPI) ECOSYSTEM:introduced=0,fixed=0.20.1, GIT:introduced=0,fixed=1bb43f17515c7f69673a1c88ab9cc72a7bbef406|ECOSYSTEM:introduced=0,fixed=0.20.1

## Identifiers

- CVE-2022-44900
- GHSA-m8xw-9x5x-6vh3
- PYSEC-2022-42998

## Related threats

- [miurahr py7zr denial of service in PackInfo header parsing](https://junglewise.ai/threats/cve-2026-55206-miurahr-py7zr-denial-of-service-in-packinfo-header-parsing)
- [miurahr py7zr decompression bomb denial of service in Worker.decompress](https://junglewise.ai/threats/cve-2026-55195-miurahr-py7zr-decompression-bomb-denial-of-service-in-worker)
- [miurahr py7zr arbitrary file write via symbolic link resolution](https://junglewise.ai/threats/cve-2026-23879-miurahr-py7zr-arbitrary-file-write-via-symbolic-link-resolution)
