VDB

CVE-2026-113716

CVE-2026-113716 PUBLISHED CVSS 4.5 MEDIUM

virtualenv: Builtin creation follows linked environment directories

Reported by github_m · Published October 20, 2026

virtualenv is fixed in 21.14.9 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
virtualenvPyPI21.14.9
openstack-rally-2025.2Chainguard4.1.0-r5

Risk scores

CVSS 3.1
4.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
pypavirtualenv< 21.14.9
PyPIvirtualenv0
chainguardopenstack-rally-2025.20
pypavirtualenv0
wolfipy3-cassandra-medusa0
chainguardopenstack-rally-2026.10
chainguardpy3-cassandra-medusa0
pypavirtualenv
chainguardrequest-12760

Timeline

  • Oct 20, 2026 CVE Published
  • Oct 21, 2026 EPSS Score (2 in total, the first dated here)
  • Oct 21, 2026 CVE Updated
  • Oct 31, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-113716
vulnetix vdb fixes CVE-2026-113716

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-113716/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›