CVE-2026-113716: virtualenv · Builtin creation follows linked environment directories
Affects poetrySource GCVE Database
Not known to be exploited · CVSS 4.5 Medium : upgrade to 2.5.1_1 or 1.2.2_1 when convenient.
Data as of 30 Oct 2026, 08:29 UTC
- Patch
- Available – fixed in 2.5.1_1, 1.2.2_1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade poetry to 2.5.1_1 or 1.2.2_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpoetrypkg:brew/poetryOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in virtualenv versions 1.2.2_1 and 2.5.1_1 that replaces linked directory components before environment creation to prevent writes outside the requested destination. Users should upgrade to these fixed versions or later. No other mitigation is indicated by the vendor advisory.
Description
A vulnerability in virtualenv's builtin environment creator allows writes outside the intended environment directory when directory symlinks are present. This occurs because the ensure_dir() function follows existing symlinks and writes environment files through them, potentially affecting directories controlled by another user. The issue affects versions prior to 1.2.2_1 and 2.5.1_1 and has a medium severity rating.
References
- github.com/pypa/virtualenv/security/advisories/GHSA-cw65-gx24-rc82 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-113716 (opens in a new tab)
- github.com/pypa/virtualenv/pull/3429 (opens in a new tab)
- github.com/pypa/virtualenv/commit/554d9f9d4f7758f5cf53f993031e29787f1f74c5 (opens in a new tab)
- github.com/pypa/virtualenv (opens in a new tab)
- github.com/pypa/virtualenv/releases/tag/21.14.9 (opens in a new tab)