Advisory record · GHSA-cw65-gx24-rc82

virtualenv: Builtin creation follows linked environment directories

CVSS 4.5 MediumEPSS 0.0014 · 3rd percentile

Published by the GitHub Advisory Database at 21 Oct 2026, 21:35 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
virtualenvPyPI<21.14.921.14.9
Identifiers
GHSA-cw65-gx24-rc82 · BIT-virtualenv-2026-113716 · CVE-2026-113716
Weakness (CWE)
CWE-59
Published
21 Oct 2026
Updated
29 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The virtualenv package, versions before 21.14.9, has a flaw in its builtin environment creator: it accepts existing directory symlinks and writes environment files through them, so files can land outside the requested destination. An attacker needs another local account that can prepare linked entries under the chosen destination before creation, and the invoking user must have access to that destination. Upgrade to virtualenv 21.14.9, which removes pre-existing symbolic links and junctions along executable and library paths; avoid reusing directory trees prepared by another account.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.5 Medium 3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0014, the 3rd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:07 UTC First seen by agentprime
  2. 31 Oct 2026, 14:07 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.