7.1High

CVE-2026-113723virtualenv: Bash prompt values can change meaning under older compatibility modes

pypa virtualenv Published: (1 month ago)

Description

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 21.14.9.

Weakness (CWE): CWE-78

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
pypa virtualenv < 21.14.9
virtualenv virtualenv 20.0.0 – < 21.14.9

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:* ≥ 20.0.0 < 21.14.9