SCA: security update for virtualenv (GHSA-558c-9hv2-4prj)

medium Tenable Cloud Security Plugin ID 476816

Description

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

- virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9,
ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a
dangling symlink to survive and redirect generated activation content, while PyEnvCfg.write() opens
pyvenv.cfg without first replacing an existing symbolic or hard link. Another local account that prepares
final entries inside the destination can therefore cause environment creation to create or overwrite files
outside the requested tree with constrained virtualenv-generated content and the invoking user's
permissions. The destination parent must remain controlled by the environment owner during creation;
concurrent parent-directory replacement is a separate concern. This issue is fixed in version 21.14.9.
(CVE-2026-113721)

Solution

Update the virtualenv library and its related packages to version 21.14.9 or later.

See Also

https://github.com/advisories/GHSA-558c-9hv2-4prj

Plugin Details

Severity: Medium

ID: 476816

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/22/2026

Updated: 10/22/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.8

Percentile: 22.22

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

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

CVSS Score Source: CVE-2026-113721

CVSS v3

Risk Factor: Medium

Base Score: 4.5

Temporal Score: 3.9

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/22/2026

Vulnerability Publication Date: 10/20/2026

Reference Information

CVE: CVE-2026-113721

cwe: CWE-59