SCA: security update for virtualenv (GHSA-9h9j-4vrj-gf7g)

medium Tenable Cloud Security Plugin ID 497153

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.7.11, PyEnvCfg.write()
writes prompt values verbatim to the line-oriented pyvenv.cfg format while PyEnvCfg._read_values() parses
the file with str.splitlines() and accepts the last value for duplicate keys. An attacker who influences
--prompt, VIRTUALENV_PROMPT, or configuration input can insert a recognized line boundary and additional
keys, including home, causing consumers to use an attacker-selected base interpreter or corrupted
environment metadata. The security impact requires prompt input from outside the operator's trust
boundary; directly supplied prompt content primarily corrupts the operator's own environment. This issue
is fixed in version 21.7.11. (CVE-2026-102938)

Solution

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

See Also

https://github.com/advisories/GHSA-9h9j-4vrj-gf7g

Plugin Details

Severity: Medium

ID: 497153

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.89

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2026-102938

CVSS v3

Risk Factor: Medium

Base Score: 6.2

Temporal Score: 5.4

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

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

CVSS v4

Risk Factor: Medium

Base Score: 5.8

Threat Score: 2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/30/2026

Vulnerability Publication Date: 9/29/2026

Reference Information

CVE: CVE-2026-102938

cwe: CWE-93