SCA: security update for py7zr (GHSA-q6rc-2cgv-63h7)

high Tenable Cloud Security Plugin ID 443668

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-23879)

Solution

Update the py7zr library and its related packages to version 1.1.3 or later.

See Also

https://github.com/advisories/GHSA-q6rc-2cgv-63h7

Plugin Details

Severity: High

ID: 443668

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/20/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.96

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-23879

CVSS v3

Risk Factor: High

Base Score: 8

Temporal Score: 7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/19/2026

Vulnerability Publication Date: 6/19/2026

Reference Information

CVE: CVE-2026-23879

cwe: CWE-59