Live threats

All CVEs / Virtualenv

CVE-2026-113716Virtualenv

Medium 4.5

Priority
27
CVSS 3.1
4.5
EPSS
—
Auth required
Yes
Published
Oct 20, 2026
Updated
Nov 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-59
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

What happens

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 because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination when another local account prepared the tree and the invoking user can access the target. The --clear option removes the planted tree first, while ordinary creation reaches it; arbitrary attacker-selected output bytes are not established. This issue is fixed in version 21.14.9.

Original NVD text.

What to do

  1. Apply the vendor's security update for Virtualenv.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI virtualenv < 21.14.9 21.14.9 pip install "virtualenv>=21.14.9"
PyPI virtualenv ≥ 20.0.0 < 21.14.9 21.14.9 pip install "virtualenv>=21.14.9"

Per OSV / GitHub Advisories (GHSA-cw65-gx24-rc82, PYSEC-2026-4375). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
virtualenvvirtualenv≥ 20.0.0 < 21.14.9

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.