Security mailing lists by PureSourceCode

CVE-2026-113716

MEDIUM 4.5CVSS 3.1

virtualenv: Builtin creation follows linked environment directories

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.

Published
20 Oct 2026
Last modified
18 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-59
Also known as
BIT-virtualenv-2026-113716GHSA-cw65-gx24-rc82PYSEC-2026-4375
Sources
NVDJSONOSV GHSA-cw65-gx24-rc82JSONOSV PYSEC-2026-4375JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
OSV PyPA CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD virtualenv virtualenv
cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
>= 20.0.0, < 21.14.9 21.14.9
OSV PyPI virtualenv < 21.14.9 21.14.9
OSV PyPI virtualenv >= 20.0.0, < 21.14.9 21.14.9

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 20 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.