virtualenv

Virtual Python Environment builder

Version: 21.14.8 registry icon
Safety score
-35
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security Risks of Known Vulnerabilities
CVE-2026-113723
CWE-78
Threat level: HIGH | CVSS score: 8

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.



CVE-2026-113719
CWE-22
Threat level: MEDIUM | CVSS score: 5

The app-data seeder joins paths from existing distribution metadata to site-packages and deletes the resulting paths without checking containment within the environment.



CVE-2026-113718
CWE-94
Threat level: HIGH | CVSS score: 8

Caller-supplied prompt text can become executable syntax in the xonsh activation script. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment.



CVE-2026-113714
CWE-354
Threat level: LOW | CVSS score: 2

Wheel downloads go directly into the reusable wheelhouse, while the verification target is selected from pip's textual output. A verification failure does not remove the downloaded file from that cache.



CVE-2026-113716
CWE-59
Threat level: MEDIUM | CVSS score: 5

The builtin creator accepts existing directory symlinks through ensure_dir() and writes environment files through those directories. This permits writes outside the requested destination.



CVE-2026-113713
CWE-377
Threat level: MEDIUM | CVSS score: 5

The app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environment-variable and configuration-file forms of symlink_app_data can enable this state even though the command-line flag is disabled for temporary app-data. The resulting environment depends on a cache pathname that its owner no longer controls.



CVE-2026-113724
CWE-59
Threat level: MEDIUM | CVSS score: 5

The deletion error handler obtains permission bits with lstat() but applies them through chmod(), which follows symlinks. On an eligible unlink failure this can change permissions outside the destination.



CVE-2026-113722
CWE-78
Threat level: HIGH | CVSS score: 8

A destination path supplied to virtualenv can be interpreted as shell syntax by a generated POSIX console launcher. The app-data seeder and pip delegate launcher generation to distlib but supply the interpreter path in a form that does not preserve it as literal data in the shell wrapper.



CVE-2026-113720
CWE-732
Threat level: MEDIUM | CVSS score: 5

The app-data copy seeder uses shutil.copy, which preserves cached file modes independently of the current umask. A cache populated under permissive permissions can therefore produce files with wider access in later environments.



CVE-2026-113717
CWE-494
Threat level: LOW | CVSS score: 2

The pip seeder acquires bundled wheels with download=False and lets pip access the index when --download is selected. Index candidates on that path do not pass through virtualenv's wheel digest verification.



CVE-2026-113721
CWE-59
Threat level: MEDIUM | CVSS score: 5

Generated activation files and pyvenv.cfg can follow existing links and write outside the requested environment. The template writer tests exists() before unlinking, which misses dangling symlinks; the configuration writer opens the existing path directly.



CVE-2026-113715
CWE-93
Threat level: LOW | CVSS score: 2

The venv creator reads the standard library's generated pyvenv.cfg with splitlines() and merges all resulting keys over virtualenv's configuration. Line-boundary characters from destination data can therefore become configuration structure before output sanitization.



Please note that this component is affected by other vulnerabilities
Critical  |  High  |  Medium  |  Low  |  Suggest

Latest safe patch: 21.14.13 Scan your application codebase with Meterian to see all known vulnerabilities in your open source software dependencies.


Stability

Stay updated with the latest patches and releases. Plan your sofware desisgn. Avoid common known vulnerabilities fixed by the open source community

Latest patch release:   21.14.13

Latest minor release:   --

Latest major release:   --

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant