CVE-2026-113724: virtualenv: Deletion recovery can change a symlink target's mode
Vulnerability summary
CVE-2026-113724 is a medium (CVSS 4.5) vulnerability in pypa virtualenv. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.8% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 20-10-2026PublishedVulnerability first disclosed.
- 27-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · PypiEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.20% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVirtualenv
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard11 products
- nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r8
- nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-automodelAll versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-mcoreAll versions (No fix recorded) | < 0.7.0-r15
- nemo-rl-cuda-13.0-sglang< 0.7.0-r15
Debian1 product
- python-virtualenvAll versions (No fix recorded) | < 21.15.6+ds-1
Pypa1 product
- virtualenv< 21.14.9
PyPI1 product
- virtualenv< 21.14.9 | ≥ 21.7.5, < 21.14.9
Ubuntu1 product
- python-virtualenvAll versions (No fix recorded)
Virtualenv1 product
- virtualenv≥ 21.7.5, < 21.14.9
Wolfi1 product
- py3-cassandra-medusaAll versions (No fix recorded) | < 0.31.0-r1
7 vendors · 17 products
References
10 links- github.com/pypa/virtualenv/security/advisories/GHSA-43mp-35q3-x3fqX Refsource CONFIRMWEBAdvisoryREPORTExploitMitigationPatchVendor AdvisoryFIX
- github.com/pypa/virtualenv/commit/2bfdc0230d1b2685fedfcfe66c835b9a2ec7c440X Refsource MISCWEBFIXPatch
- github.com/pypa/virtualenvPACKAGE