Advisory record · GHSA-q6rc-2cgv-63h7

py7zr: Arbitrary File Write Vulnerability

CVSS 8.0 HighEPSS 0.0050 · 43rd percentile

Published by the GitHub Advisory Database at 19 Jun 2026, 19:21 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
py7zrPyPI<1.1.31.1.3
Identifiers
GHSA-q6rc-2cgv-63h7 · CVE-2026-23879 · PYSEC-2026-2974
Weakness (CWE)
CWE-59
Published
19 Jun 2026
Updated
21 Jul 2026

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.

Written 5 Nov 2026.

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

ScoreRatingCVSSVectorSource
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

  1. 31 Oct 2026, 14:42 UTC First seen by agentprime
  2. 31 Oct 2026, 14:42 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.