py7zr directory traversal vulnerability
Published Dec 6, 2022 · Updated Oct 23, 2026 · Also known as PYSEC-2022-42998, GHSA-m8xw-9x5x-6vh3
Original summary
Normalized public record · Updated Oct 23, 2026
py7zr directory traversal vulnerability
Publisher and source text is retained separately from QFinch interpretation.
QFinch assessment
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: public source recordsAffected products
| Affected package, product or range | Fix status |
|---|---|
| Consult the referenced vendor advisory for affected versions. | Consult source advisory |
Matching a version is only one part of assessing exposure. QFinch has not assessed your environment on this public page.
Remediation
Apply the vendor-supported fixed release or mitigation, then verify the affected component is no longer reachable.
- Confirm the affected product and reachable code path exist in your environment.
- Apply the vendor-supported patch or mitigation from the primary advisory.
- Rescan the exact deployed revision and retain verification evidence.
Evidence coverage
- SSVC priority
- MEDIUM
- Confidence
- 20%
- Aliases
- PYSEC-2022-42998, GHSA-m8xw-9x5x-6vh3
Scores appear only when corresponding evidence exists. Missing data is never interpreted as zero risk.
Sources and record history
Record history
Published Dec 6, 2022 · Last refreshed Oct 23, 2026