VulnWatch by ve1ve2
high 7.8 EPSS 0.28%

PYSEC-2026-4384: virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of…

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
virtualenv

https://osv.dev/vulnerability/PYSEC-2026-4384 ↗

osvpypifix-available

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \$(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7. Affected: PyPI:virtualenv Fixed in: 21.14.7 References: https://github.com/pypa/virtualenv/releases/tag/21.14.7 https://github.com/pypa/virtualenv/commit/c3104e02474b652832a9bbaae79f6e1696296932 https://github.com/pypa/virtualenv/security/advisories/GHSA-vxj4-q4g9-crj7

Linked vulnerabilities (2)

CVE-2026-113725 high 7.8 EPSS 0.28% (p20) NVDCVE.orgGHSA
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \$(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.

CWE: CWE-78, CWE-116Aliases: GHSA-vxj4-q4g9-crj7NVD: Analyzed
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

virtualenv bash activate runs commands from an environment name with a backslash before $

CWE: CWE-116, CWE-78Aliases: CVE-2026-113725

Also reported by (2)