Is virtualenv 21.1 vulnerable?

PyPI · 1 release from 21.1.0 to 21.1.0 · latest virtualenv is 21.15.9 · checked 18 Nov 2026

Yes: 19 known advisories

Yes. virtualenv 21.1.0, the last 21.1 release, is affected by 19 known security advisories (10 high, 6 medium, 3 low), including CVE-2026-113718, CVE-2026-113723, CVE-2026-113722. Upgrade to 21.14.9 or later to fix all of them.

Upgrade with:pip install 'virtualenv>=21.14.9'

Is your project on an affected virtualenv?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting virtualenv 21.1.0

  • LowCVE-2026-113717GHSA-cx28-75q4-x26q23 Oct 2026

    virtualenv: Pip seeding with download omits wheel digest verification

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • LowCVE-2026-113714GHSA-494p-63j8-28p323 Oct 2026

    virtualenv: Downloaded wheel selection and caching precede verification

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • HighCVE-2026-113718GHSA-394h-qwmc-48pf23 Oct 2026

    virtualenv: Xonsh activation literals depend on the script decoding codec

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • MediumCVE-2026-113720GHSA-fc2g-4w5p-6whm23 Oct 2026

    virtualenv: Seeded files retain permissions from an older cache

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • HighCVE-2026-113723GHSA-6w3r-xr62-4xcp23 Oct 2026

    virtualenv: Bash prompt values can change meaning under older compatibility modes

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • LowCVE-2026-113715GHSA-qmx5-4p3x-wvqf23 Oct 2026

    virtualenv: Venv configuration readback can reinterpret path boundaries

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • MediumCVE-2026-113719GHSA-hhxq-47xx-j5xx23 Oct 2026

    virtualenv: Seed replacement does not contain metadata deletion paths

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • MediumCVE-2026-113721GHSA-558c-9hv2-4prj22 Oct 2026

    virtualenv: Generated files can follow existing destination links

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • MediumCVE-2026-113716GHSA-cw65-gx24-rc8221 Oct 2026

    virtualenv: Builtin creation follows linked environment directories

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • MediumCVE-2026-113724GHSA-43mp-35q3-x3fq21 Oct 2026

    virtualenv: Deletion recovery can change a symlink target's mode

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • HighCVE-2026-113722GHSA-c978-59m8-c77v21 Oct 2026

    virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax

    Affected
    <21.14.9
    Fixed in
    21.14.9
  • HighCVE-2026-113725GHSA-vxj4-q4g9-crj721 Oct 2026

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

    Affected
    <21.14.7
    Fixed in
    21.14.7
  • HighCVE-2026-113726GHSA-5vjq-rrrf-7h2q21 Oct 2026

    virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST

    Affected
    <21.14.4
    Fixed in
    21.14.4
  • HighCVE-2026-113732GHSA-c947-3pg5-gm8q21 Oct 2026

    virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

    Affected
    <21.14.2
    Fixed in
    21.14.2
  • HighCVE-2026-113776GHSA-8rjx-v5ww-45pp21 Oct 2026

    virtualenv activation scripts run code from a path that contains a placeholder name

    Affected
    >=20.26.6 <21.14.2
    Fixed in
    21.14.2
  • HighCVE-2026-102925GHSA-p58f-9548-mpm21 Oct 2026

    virtualenv bash and fish activation scripts execute commands embedded in paths

    Affected
    <21.7.13
    Fixed in
    21.7.13
  • HighCVE-2026-102937GHSA-x78j-v8h9-3j2q1 Oct 2026

    virtualenv: Command injection via --prompt in activate.bat (batch activator)

    Affected
    <21.7.12
    Fixed in
    21.7.12
  • HighCVE-2026-102930GHSA-94p9-xgh2-xp4530 Sept 2026

    virtualenv: Downloaded seed wheels (pip/setuptools) are not integrity-checked before use

    Affected
    <21.7.12
    Fixed in
    21.7.12
  • MediumCVE-2026-102938GHSA-9h9j-4vrj-gf7g30 Sept 2026

    virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection

    Affected
    <21.7.11
    Fixed in
    21.7.11

Which of your client projects are still on virtualenv 21.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact virtualenv version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other virtualenv versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.