Read the docs
TI-2026-19237 Aliases CVE-2026-23879GHSA-q6rc-2cgv-63h7

py7zr: Arbitrary File Write Vulnerability

Priority HIGH 70CWE-59Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

py7zr is a Python-based library and utility to support 7zip archive compression, decompression, encryption and decryption. Versions 1.1.2 and below contain an an arbitrary file write vulnerability, which allows symbolic links to be recreated outside the destination directory via crafted malicious symbolic link chains. When using extractall to extract an archive, the library restores these symbolic links, linking them to arbitrary directories on the host file system. During extraction, the program only checks the link arcname within the destination directory, but ignores the combined symlink path resolution. Attackers can exploit this vulnerability by constructing malicious archives, thereby bypassing the directory boundary restrictions implemented by the extractor. Subsequent extraction of regular files through these symbolic links can result in arbitrary file writes. This vulnerability may lead to remote code execution, privilege escalation, data corruption, or denial of service. This issue has been fixed in version 1.1.3.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00498 42nd percentileScored 2026-11-07
Fix Fixed py7zr (miurahr): 1.1.3py7zr (PyPI): 1.1.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
miurahrpy7zrbefore 1.1.31.1.3Patch availableCNA
—py7zr (PyPI)before 1.1.31.1.3Patch availableGHSA-q6rc-2cgv-63h7
  • py7zr Vendormiurahr Affected before 1.1.3 Fixed in 1.1.3 Patch available CNA
  • py7zr (PyPI) Vendor— Affected before 1.1.3 Fixed in 1.1.3 Patch available GHSA-q6rc-2cgv-63h7

Remediation

  • Fix · CNA py7zr (miurahr) Fixed in 1.1.3
  • Fix · GHSA-q6rc-2cgv-63h7 py7zr (PyPI) Fixed in 1.1.3 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-23879
  2. 2026-10-03 Alias added: GHSA-q6rc-2cgv-63h7

References

  • TI-2026-39886 py7zr: O(n^2) algorithmic complexity DoS in PackInfo._read() CVSS 4.0HIGH 8.7
  • TI-2026-39875 py7zr: Decompression bomb (zip bomb) denial of service via unchecked extraction size CVSS 4.0HIGH 8.7

Sources