CVE-2022-44900
CRITICAL 9.1CVSS 3.1py7zr directory traversal vulnerability
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.
- Published
- 6 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-m8xw-9x5x-6vh3PYSEC-2022-42998
- Sources
- NVDJSONOSV GHSA-m8xw-9x5x-6vh3JSONOSV PYSEC-2022-42998JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | py7zr_project | py7zrcpe:2.3:a:py7zr_project:py7zr:*:*:*:*:*:python:*:* |
< 0.20.1 | 0.20.1 |
| OSV | PyPI | py7zr | < 0.20.1 | 0.20.1 |
References
- http://packetstormsecurity.com/files/170127/py7zr-0.20.0-Directory-Traversal.html · Exploit, Third Party Advisory, VDB Entry, WEB, EVIDENCE, ADVISORY
- https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406 · Patch, Third Party Advisory, WEB, FIX
- https://lessonsec.com/cve/cve-2022-44900/ · Exploit, Third Party Advisory, WEB, EVIDENCE
- 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://github.com/advisories/GHSA-m8xw-9x5x-6vh3 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 6 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 Dec 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Dec 2022)