CVE-2026-113724Virtualenv
Medium 4.5
Follow: this CVE · Virtualenv · Virtualenv We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Virtualenv.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| virtualenv | virtualenv | ≥ 21.7.5 < 21.14.9 |
Official advisories
- python313-virtualenv-21.15.1-1.1 on GA media · SUSE · openSUSE-SU-2026:12372-1 · Oct 30, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Exploit Mitigation Patch