Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
py7zr versions before 1.1.3 are vulnerable to an arbitrary file write. The extractall function restores symbolic links from a crafted archive without restricting where they point, so a chain of such links can lead outside the destination directory. An attacker who supplies a malicious 7z archive that a user extracts can then write files to arbitrary locations on the host, which the source says may lead to code execution, privilege escalation, data corruption, or denial of service. Upgrade to py7zr 1.1.3 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.0 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0050, the 43rd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:42 UTC First seen by agentprime
- 31 Oct 2026, 14:42 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-q6rc-2cgv-63h7
- OSV: GHSA-q6rc-2cgv-63h7
- github.com/miurahr/py7zr/security/advisories/GHSA-q6rc-2cgv-63h7
- nvd.nist.gov/vuln/detail/CVE-2026-23879
- github.com/advisories/GHSA-q6rc-2cgv-63h7
- github.com/miurahr/py7zr
- github.com/miurahr/py7zr/releases/tag/v1.1.3
- github.com/pypa/advisory-database/tree/main/vulns/py7zr/PYSEC-2026-2974.yaml
- pypi.org/project/py7zr