PyPI (Python)Worst: High24 advisories

virtualenv: known vulnerabilities

virtualenv has 24 reviewed security advisories in the GitHub Advisory Database — 12 high, 9 moderate, 3 low. The most recent was published 2026-10-23. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the virtualenv versions running across your servers, containers and images, and ranks what to patch first.

How to fix virtualenv

Upgrade virtualenv to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade virtualenv (pin virtualenv>=21.14.13)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (24)

virtualenv: Bash activator leaves the --prompt value unescaped in PS1 when promptvars is off, so prompt expansion later executes it (regression in 21.14.9) High CWE-78 — Affected: from 21.14.9 up to 21.14.13. Fixed in 21.14.13. Published 2026-10-23. GHSA-cx6f-vjhg-g3cc · CVE-2026-115586
virtualenv: Xonsh activation literals depend on the script decoding codec High CWE-94 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-394h-qwmc-48pf · CVE-2026-113718
virtualenv: Deletion recovery can change a symlink target's mode Moderate 4.5 CWE-59 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-43mp-35q3-x3fq · CVE-2026-113724
virtualenv: Downloaded wheel selection and caching precede verification Low CWE-354 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-494p-63j8-28p3 · CVE-2026-113714
virtualenv: Temporary app-data can leave dangling seed package links Moderate CWE-377 — Affected: from 21.14.8 up to 21.14.10. Fixed in 21.14.10. Published 2026-10-20. GHSA-4f8h-vr72-p32c · CVE-2026-113713
virtualenv: Generated files can follow existing destination links Moderate 4.5 CWE-59 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-558c-9hv2-4prj · CVE-2026-113721
virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST High 7.8 CWE-116 CWE-78 — Affected: before 21.14.4. Fixed in 21.14.4. Published 2026-10-20. GHSA-5vjq-rrrf-7h2q · CVE-2026-113726
virtualenv: Bash prompt values can change meaning under older compatibility modes High CWE-78 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-6w3r-xr62-4xcp · CVE-2026-113723
virtualenv activation scripts run code from a path that contains a placeholder name High 7.8 CWE-78 CWE-94 — Affected: from 20.26.6 up to 21.14.2. Fixed in 21.14.2. Published 2026-10-20. GHSA-8rjx-v5ww-45pp · CVE-2026-113776
virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote High 7.8 CWE-116 CWE-78 — Affected: before 21.14.2. Fixed in 21.14.2. Published 2026-10-20. GHSA-c947-3pg5-gm8q · CVE-2026-113732
virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax High 7.8 CWE-78 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-c978-59m8-c77v · CVE-2026-113722
virtualenv: Builtin creation follows linked environment directories Moderate 4.5 CWE-59 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-cw65-gx24-rc82 · CVE-2026-113716
virtualenv: Pip seeding with download omits wheel digest verification Low CWE-494 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-cx28-75q4-x26q · CVE-2026-113717
virtualenv: Seeded files retain permissions from an older cache Moderate CWE-732 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-fc2g-4w5p-6whm · CVE-2026-113720
virtualenv: Seed replacement does not contain metadata deletion paths Moderate 4.5 CWE-22 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-hhxq-47xx-j5xx · CVE-2026-113719
virtualenv: Venv configuration readback can reinterpret path boundaries Low CWE-93 — Affected: before 21.14.9. Fixed in 21.14.9. Published 2026-10-20. GHSA-qmx5-4p3x-wvqf · CVE-2026-113715
virtualenv bash activate runs commands from an environment name with a backslash before $ High 7.8 CWE-116 CWE-78 — Affected: before 21.14.7. Fixed in 21.14.7. Published 2026-10-20. GHSA-vxj4-q4g9-crj7 · CVE-2026-113725
virtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use High CWE-494 — Affected: before 21.7.12. Fixed in 21.7.12. Published 2026-09-29. GHSA-94p9-xgh2-xp45 · CVE-2026-102930
virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection Moderate CWE-93 — Affected: before 21.7.11. Fixed in 21.7.11. Published 2026-09-29. GHSA-9h9j-4vrj-gf7g · CVE-2026-102938
virtualenv bash and fish activation scripts execute commands embedded in paths High 7.8 CWE-78 — Affected: before 21.7.13. Fixed in 21.7.13. Published 2026-09-29. GHSA-p58f-9548-mpm2 · CVE-2026-102925
virtualenv: Command injection via --prompt in activate.bat (batch activator) High CWE-78 — Affected: before 21.7.12. Fixed in 21.7.12. Published 2026-09-29. GHSA-x78j-v8h9-3j2q · CVE-2026-102937
virtualenv Has TOCTOU Vulnerabilities in Directory Creation Moderate 4.5 CWE-362 CWE-59 — Affected: before 20.36.1. Fixed in 20.36.1. Published 2026-01-10. GHSA-597g-3phw-6986 · CVE-2026-22702
virtualenv allows command injection through activation scripts for a virtual environment High 8.4 CWE-77 CWE-78 — Affected: before 20.26.6. Fixed in 20.26.6. Published 2024-11-24. GHSA-rqc4-2hc7-8c8v · CVE-2024-53899
Virtualenv Allows Symlink Attack on /tmp/ Moderate 6.2 CWE-59 — Affected: before 1.5. Fixed in 1.5. Published 2011-12-31. GHSA-3jhc-wjqf-5f2c · CVE-2011-4617

Find virtualenv across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.