# CVE-2022-44900: py7zr directory traversal vulnerability

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.30%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-12-06T00:00:00.000Z
- Modified: 2026-06-17T05:09:01.750Z
- Also known as: GHSA-m8xw-9x5x-6vh3, PYSEC-2022-42998
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- py7zr (PyPI): before 0.20.1; before 1bb43f17515c7f69673a1c88ab9cc72a7bbef406
- py7zr_project py7zr: before 0.20.1

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html> (exploit, advisory, evidence, third-party-advisory, vdb-entry, web)
- <https://lessonsec.com/cve/cve-2022-44900/> (exploit, evidence, third-party-advisory, web)
- <https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406> (fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-44900> (advisory)
- <https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-m8xw-9x5x-6vh3> (web)
- <https://github.com/miurahr/py7zr> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2022-42998.yaml> (web)
- <https://lessonsec.com/cve/cve-2022-44900> (web)
- <https://github.com/advisories/GHSA-m8xw-9x5x-6vh3> (advisory)

## Sources

- CVE List: [CVE-2022-44900](https://www.cve.org/CVERecord?id=CVE-2022-44900), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-m8xw-9x5x-6vh3](https://github.com/advisories/GHSA-m8xw-9x5x-6vh3), CC-BY-4.0, modified 2024-10-18
- NVD: [CVE-2022-44900](https://nvd.nist.gov/vuln/detail/CVE-2022-44900), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-42998](https://osv.dev/vulnerability/PYSEC-2022-42998), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-44900 · Whole record: https://cve.day/CVE-2022-44900.json · Rebuilt by cve.day 2026-11-25T22:58:17.271Z
