Critical
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-44900
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 09:04 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-44900
Complete source record
{
"id": "a2a3759da8decda5219525ec0fb4e8c54ce49fcd4a5cc05fa3f87008a0d7a3c0",
"url": "https://osv.dev/vulnerability/CVE-2022-44900",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-44900",
"summary": "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.",
"evidence": "osv:CVE-2022-44900",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2022-44900",
"aliases": [
"CVE-2022-44900",
"GHSA-m8xw-9x5x-6vh3",
"PYSEC-2022-42998"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/miurahr/py7zr",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "3b83939d76f06f15b211ebc56493ec3d6e1bb167"
},
{
"fixed": "1bb43f17515c7f69673a1c88ab9cc72a7bbef406"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:py7zr_project:py7zr:*:*:*:*:*:python:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.20.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "1bb43f17515c7f69673a1c88ab9cc72a7bbef406"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v0.20.0",
"v0.18.9",
"v0.18.7",
"v0.18.6",
"v0.18.5",
"v0.18.4",
"v0.18.3",
"v0.18.1",
"v0.18.0",
"v0.17.4",
"v0.17.3",
"v0.17.2",
"v0.17.1",
"v0.17.0",
"v0.16.4",
"v0.16.3",
"v0.16.2",
"v0.16.1",
"v0.16.0",
"v0.15.2",
"v0.15.1",
"v0.15.0",
"v0.14.1",
"v0.13.0",
"v0.14.0",
"v0.12.0",
"v0.11.3",
"v0.10.1",
"v0.11.2",
"v0.11.1",
"v0.11.0",
"v0.10.0a1",
"v0.9.2",
"v0.9.1",
"v0.9.0",
"v0.9.0b3",
"v0.9.0b2",
"v0.9.0b1",
"v0.9.0a2",
"v0.8.0",
"v0.9.0a1",
"v0.8.0b8",
"v0.8.0b7",
"v0.8.0b6",
"v0.8.0b5",
"v0.8.0b4",
"v0.8.0b3",
"v0.7.3",
"v0.8.0b2",
"v0.8.0b1",
"v0.8.0a3",
"v0.8.0a2",
"v0.8.0a1",
"v0.7.2",
"v0.7.1",
"v0.7.0",
"v0.7.0b3",
"v0.7.0b2",
"v0.7.0b1",
"v0.6",
"v0.6rc",
"v0.6b8",
"v0.6b7",
"v0.6b6",
"v0.6b5",
"v0.6b4",
"v0.6b3",
"v0.6b2",
"v0.6b1",
"v0.6a2",
"v0.6a1",
"v0.5b6",
"v0.5b5",
"v0.5b4",
"v0.5b3",
"v0.5b2",
"v0.5b1",
"v0.5a4",
"v0.5a3",
"v0.5a2",
"v0.5a1",
"v0.4b1",
"v0.4a2",
"v0.4a1",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3",
"v0.2.0",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0",
"v0.0.8",
"v0.0.7",
"v0.0.6",
"v0.0.5",
"v0.0.4",
"v0.0.3",
"v0.0.2",
"v0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-44900.json"
}
}
],
"modified": "2026-10-28T02:30:34.321637546Z",
"provider": "osv",
"references": [
"https://lessonsec.com/cve/cve-2022-44900/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/44xxx/CVE-2022-44900.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-44900",
"https://github.com/miurahr/py7zr/commit/1bb43f17515c7f69673a1c88ab9cc72a7bbef406"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/44xxx/CVE-2022-44900.json"
}
},
"related_cves": [
{
"value": "CVE-2022-44900",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 501298,
"published_at": "2022-12-06T00:00:00+00:00"
}