Skip to main content
VulnerabilityPublished

CVE-2026-113716: virtualenv · Builtin creation follows linked environment directories

Affects poetrySource GCVE Database

0
Compare
Authoritative record:CVE-2026-113716· Medium 4.5

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

CVSS 3.1 base score
4.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewpoetrypkg:brew/poetryOther threatsAffected
  • >=1.1.0 <1.2.2_1
  • >=1.8.0 <2.5.1_1
Fixed in
  • 1.2.2_1
  • 2.5.1_1

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

Community reviews

Loading reviews…