virtualenv
PyPI24 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting virtualenvpage 1 of 1
- CVE-2011-4617MEDIUMCVSS v2 1.2EG 6.2fixed in 1.52011-12-31
vulnerable: 0.8 ... 1.4rc1 (27 versions)
virtualenv.py in virtualenv before 1.5 allows local users to overwrite arbitrary files via a symlink attack on a certain file in /tmp/.
- CVE-2024-53899HIGHCVSS 7.8EG 8.4fixed in 20.26.62024-11-24
vulnerable: 0.8 ... 20.9.0 (222 versions)
virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287.
- CVE-2026-102925HIGHCVSS 7.8EG 7.8fixed in 21.7.132026-09-29
vulnerable: 0.8 ... 21.7.9 (282 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.13, the generated activate (bash and zsh) and activate.fish scripts place values already escaped by shlex.quote inside an additional quoted context. In t…
- CVE-2026-102930HIGHCVSS 7.7EG 7.7fixed in 21.7.122026-09-29
vulnerable: 0.8 ... 21.7.9 (281 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, download_wheel() accepts pip and setuptools seed wheels fetched for periodic updates or the --download option without checking their bytes against an…
- CVE-2026-102937HIGHCVSS 7.3EG 7.3fixed in 21.7.122026-09-29
vulnerable: 0.8 ... 21.7.9 (281 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.12, BatchActivator.quote() returns prompt text unchanged before activate.bat inserts it into a cmd.exe set "VAR=value" statement. An attacker who influen…
- CVE-2026-102938MEDIUMCVSS 5.8EG 5.8fixed in 21.7.112026-09-29
vulnerable: 0.8 ... 21.7.9 (280 versions)
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.splitlin…
- CVE-2026-113713MEDIUMCVSS 4.4EG 4.4fixed in 21.14.102026-10-20
vulnerable: 21.14.8, 21.14.9
virtualenv is a tool for creating isolated virtual python environments. From 21.14.8 until 21.14.10, the app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environ…
- CVE-2026-113714LOWCVSS 2.3EG 2.3fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, download_wheel() writes package-index downloads directly into the reusable wheel/house cache before selecting a verification target from pip's textua…
- CVE-2026-113715LOWCVSS 2.0EG 2.0fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the stdlib venv creator reads generated pyvenv.cfg with str.splitlines() and merges parsed keys over virtualenv's selected configuration. An untruste…
- CVE-2026-113716MEDIUMCVSS 4.5EG 4.5fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory …
- CVE-2026-113717LOWCVSS 2.3EG 2.3fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInvoke.get_pip_install_cmd() handles --seeder pip --download by calling get_wheel(download=False) and then allowing pip to consult the configured …
- CVE-2026-113718HIGHCVSS 7.1EG 7.1fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that…
- CVE-2026-113719MEDIUMCVSS 4.5EG 4.5fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInstall._uninstall_previous_version() accepts existing seed-package metadata and _uninstall_dist() joins entries from top_level.txt and RECORD to …
- CVE-2026-113720MEDIUMCVSS 4.4EG 4.4fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package files into later environments, causing cached source modes to override the current…
- CVE-2026-113721MEDIUMCVSS 4.5EG 4.5fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
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 gene…
- CVE-2026-113722HIGHCVSS 7.8EG 7.8fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. Whe…
- CVE-2026-113723HIGHCVSS 7.1EG 7.1fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
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, an…
- CVE-2026-113724MEDIUMCVSS 4.5EG 4.5fixed in 21.14.92026-10-20
vulnerable: 0.8 ... 21.9.1 (304 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the safe_delete() deletion error handler responds to a failed removal by reading mode bits with os.lstat(path) and applying owner-write permission wi…
- CVE-2026-113725HIGHCVSS 7.8EG 7.8fixed in 21.14.72026-10-20
vulnerable: 0.8 ... 21.9.1 (302 versions)
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 escap…
- CVE-2026-113726HIGHCVSS 7.8EG 7.8fixed in 21.14.42026-10-20
vulnerable: 0.8 ... 21.9.1 (299 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.13.0, the bash activate script that zsh also sources leaves the environment name unescaped; from 21.13.0 until 21.14.4, it escapes backslashes, dollar sign…
- CVE-2026-113732HIGHCVSS 7.8EG 7.8fixed in 21.14.22026-10-20
vulnerable: 0.8 ... 21.9.1 (297 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even though fish interprets backslashes and single quotes differe…
- CVE-2026-113776HIGHCVSS 7.8EG 7.8fixed in 21.14.22026-10-20
vulnerable: 20.26.6 ... 21.9.1 (75 versions)
virtualenv is a tool for creating isolated virtual python environments. From 20.26.6 until 21.14.2, ViaTemplateActivator.instantiate_template() replaces placeholders one key at a time across the complete activation template, so trigger nam…
- CVE-2026-115586HIGHCVSS 7.1EG 7.1fixed in 21.14.132026-10-23
vulnerable: 21.14.10, 21.14.11, 21.14.12, 21.14.9
virtualenv is a tool for creating isolated virtual python environments. From 21.14.9 until 21.14.13, the bash bin/activate script can copy an attacker-controlled --prompt value into PS1 without escaping dollar signs or backticks when both …
- CVE-2026-22702MEDIUMCVSS 4.5EG 4.5fixed in 20.36.12026-01-10
vulnerable: 0.8 ... 20.9.0 (245 versions)
virtualenv is a tool for creating isolated virtual python environments. Prior to version 20.36.1, TOCTOU (Time-of-Check-Time-of-Use) vulnerabilities in virtualenv allow local attackers to perform symlink-based attacks on directory creation…
Check whether virtualenv is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for virtualenv CVEs against the assets you own.
Book a Demo →