Live threats

All CVEs / Virtualenv

CVE-2026-113724Virtualenv

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: proof of concept · 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 safe_delete() deletion error handler responds to a failed removal by reading mode bits with os.lstat(path) and applying owner-write permission with os.chmod(path, ...), which follows a symlink. A planted link inside a read-only directory can therefore cause a victim-owned target outside the destination that is initially not writable by the invoking user to become broadly writable before the retry fails, provided that user owns the target and can change its mode. Another account can use the widened mode only if it can traverse the target's parent directories; root does not reach the demonstrated failure path, and the operation does not itself read the target. 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 ≥ 21.7.5 < 21.14.9 21.14.9 pip install "virtualenv>=21.14.9"

Per OSV / GitHub Advisories (GHSA-43mp-35q3-x3fq, PYSEC-2026-4383). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
virtualenvvirtualenv≥ 21.7.5 < 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.