---
title: "pypa virtualenv vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/pypa/virtualenv
type: product
description: "pypa virtualenv has 24 published CVEs, 0 in CISA KEV and 15 with public exploits."
updated: 2026-10-23
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# pypa virtualenv vulnerabilities

Vendor: [pypa](https://radicalnotion.ai/vendor/pypa)

- **Published CVEs:** 24
- **In CISA KEV:** 0
- **With a public exploit:** 15
- **With a patch:** 24
- **Average CVSS:** 6.0
- **First CVE:** 2011-12-31
- **Latest CVE:** 2026-10-23
- **Ecosystems:** bitnami, pypi

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 1 |
| High | 11 |
| Medium | 9 |
| Low | 3 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-78](https://radicalnotion.ai/cwe/cwe-78) | Improper Neutralization of Special Elements used in an OS Command | 10 |
| [CWE-59](https://radicalnotion.ai/cwe/cwe-59) | Improper Link Resolution Before File Access | 5 |
| [CWE-494](https://radicalnotion.ai/cwe/cwe-494) | Download of Code Without Integrity Check | 2 |
| [CWE-93](https://radicalnotion.ai/cwe/cwe-93) | Improper Neutralization of CRLF Sequences | 2 |
| [CWE-22](https://radicalnotion.ai/cwe/cwe-22) | Improper Limitation of a Pathname to a Restricted Directory | 1 |
| [CWE-94](https://radicalnotion.ai/cwe/cwe-94) | Improper Control of Generation of Code | 1 |
| [CWE-354](https://radicalnotion.ai/cwe/cwe-354) | Improper Validation of Integrity Check Value | 1 |
| [CWE-377](https://radicalnotion.ai/cwe/cwe-377) | DEPRECATED: Insecure Temporary File | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2024 | 1 |
| 2025 | 0 |
| 2026 | 22 |

## Affected versions (top 24 of 331)

| Version | Kind | CVEs |
| --- | --- | --- |
| 21.7.10 | exact | 18 |
| 21.7.5 | exact | 18 |
| 21.7.6 | exact | 18 |
| 21.7.7 | exact | 18 |
| 21.7.8 | exact | 18 |
| 21.7.9 | exact | 18 |
| 20.10.0 | exact | 17 |
| 20.11.0 | exact | 17 |
| 20.11.1 | exact | 17 |
| 20.11.2 | exact | 17 |
| 20.12.0 | exact | 17 |
| 20.12.1 | exact | 17 |
| \< 21.14.9 | range | 11 |
| 20.0.0 \<= v \< 21.14.9 | range | 6 |
| \< 21.7.12 | range | 2 |
| 21.7.12 \<= v \< 21.14.9 | range | 2 |
| \< 1.5 | range | 1 |
| \< 20.26.6 | range | 1 |
| \< 20.36.1 | range | 1 |
| \< 21.14.2 | range | 1 |
| \< 21.14.4 | range | 1 |
| \< 21.14.7 | range | 1 |
| \< 21.7.11 | range | 1 |
| \< 21.7.13 | range | 1 |

## Fixed in

| Version | CVEs |
| --- | --- |
| 21.14.9 | 11 |
| 21.14.2 | 2 |
| 21.7.12 | 2 |
| 1.5 | 1 |
| 20.26.6 | 1 |
| 20.36.1 | 1 |
| 21.14.10 | 1 |
| 21.14.13 | 1 |
| 21.14.4 | 1 |
| 21.14.7 | 1 |
| 21.7.11 | 1 |
| 21.7.13 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-115586 | 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 | 7.1 | No | Yes | Yes |
| CVE-2026-113726 | virtualenv activate runs commands from the environment name in zsh with PROMPT\_SUBST | high | 7.8 | No | No | Yes |
| CVE-2026-113776 | virtualenv activation scripts run code from a path that contains a placeholder name | high | 7.8 | No | No | Yes |
| CVE-2026-113732 | virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote | high | 7.8 | No | No | Yes |
| CVE-2026-113725 | virtualenv bash activate runs commands from an environment name with a backslash before $ | high | 7.8 | No | Yes | Yes |
| CVE-2026-113724 | virtualenv: Deletion recovery can change a symlink target's mode | medium | 4.5 | No | Yes | Yes |
| CVE-2026-113723 | virtualenv: Bash prompt values can change meaning under older compatibility modes | high | 7.1 | No | Yes | Yes |
| CVE-2026-113722 | virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax | high | 7.8 | No | Yes | Yes |
| CVE-2026-113721 | virtualenv: Generated files can follow existing destination links | medium | 4.5 | No | Yes | Yes |
| CVE-2026-113720 | virtualenv: Seeded files retain permissions from an older cache | medium | 4.4 | No | Yes | Yes |
| CVE-2026-113715 | virtualenv: Venv configuration readback can reinterpret path boundaries | low | 2.0 | No | Yes | Yes |
| CVE-2026-113719 | virtualenv: Seed replacement does not contain metadata deletion paths | medium | 4.5 | No | Yes | Yes |
| CVE-2026-113718 | virtualenv: Xonsh activation literals depend on the script decoding codec | high | 7.1 | No | Yes | Yes |
| CVE-2026-113717 | virtualenv: Pip seeding with download omits wheel digest verification | low | 2.3 | No | Yes | Yes |
| CVE-2026-113716 | virtualenv: Builtin creation follows linked environment directories | medium | 4.5 | No | Yes | Yes |
| CVE-2026-113714 | virtualenv: Downloaded wheel selection and caching precede verification | low | 2.3 | No | Yes | Yes |
| CVE-2026-113713 | virtualenv: Temporary app-data can leave dangling seed package links | medium | 4.4 | No | Yes | Yes |
| CVE-2026-102938 | virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection | medium | 5.8 | No | No | Yes |
| CVE-2026-102937 | virtualenv: Command injection via --prompt in activate.bat (batch activator) | high | 7.3 | No | No | Yes |
| CVE-2026-102930 | virtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use | high | 7.7 | No | No | Yes |
| CVE-2026-102925 | virtualenv bash and fish activation scripts execute commands embedded in paths | high | 7.8 | No | No | Yes |
| CVE-2026-22702 | virtualenv Has TOCTOU Vulnerabilities in Directory Creation | medium | 4.5 | No | No | Yes |
| CVE-2024-53899 | virtualenv allows command injection through activation scripts for a virtual environment | critical | 9.8 | No | Yes | Yes |
| CVE-2011-4617 | Virtualenv Allows Symlink Attack on /tmp/ | medium | 6.9 | No | No | Yes |

## Frequently asked questions

### How many CVEs does pypa virtualenv have?

pypa virtualenv has 24 published CVE records since 2011.

### How many pypa virtualenv CVEs are in CISA KEV?

None of pypa virtualenv's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for pypa virtualenv vulnerabilities?

Yes — 15 of pypa virtualenv's CVEs have a known public exploit.

### Which versions of pypa virtualenv are affected?

343 distinct pypa virtualenv versions are named across its CVEs. Use the version filter above to see the CVEs affecting a specific version.

### What are the most common weakness types in pypa virtualenv CVEs?

pypa virtualenv's CVEs most often map to these CWE weakness types: CWE-78 (Improper Neutralization of Special Elements used in an OS Command), CWE-59 (Improper Link Resolution Before File Access), CWE-494 (Download of Code Without Integrity Check), CWE-93 (Improper Neutralization of CRLF Sequences).

### How many critical pypa virtualenv vulnerabilities are there?

pypa virtualenv has 1 critical and 11 high-severity CVEs.

### What is the average severity of pypa virtualenv CVEs?

The average CVSS base score across pypa virtualenv's scored CVEs is 6.0.

## Other products from this vendor

- [pip](https://radicalnotion.ai/vendor/pypa/pip) (16 CVEs)
- [setuptools](https://radicalnotion.ai/vendor/pypa/setuptools) (5 CVEs)
- [wheel](https://radicalnotion.ai/vendor/pypa/wheel) (2 CVEs)
- [pipenv](https://radicalnotion.ai/vendor/pypa/pipenv) (1 CVEs)
- [pypa/setuptools](https://radicalnotion.ai/vendor/pypa/pypa-setuptools) (1 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/pypa/virtualenv). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
