Skip to main content
VulnerabilityPublished

CVE-2026-113716: pypa virtualenv · Link Following

Affects pypa virtualenvSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 4.5 Medium : upgrade to 21.14.9 when convenient.

Data as of 4 Dec 2026, 18:36 UTC

CVSS 3.1 base score
4.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.14.5
EPSS
0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 21.14.9
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 5 Dec 2026.

What to do

Upgrade pypa virtualenv to 21.14.9.

Affected software

ProductAffectedFixed in
pypavirtualenvAffected
  • <21.14.9
Fixed in
  • 21.14.9
PyPIvirtualenvpkg:pypi/virtualenvOther threatsAffected
  • <21.14.9
Fixed in
  • 21.14.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in virtualenv version 21.14.9, which replaces linked directory components before creation to prevent writes outside the intended environment directory. Users should upgrade to version 21.14.9 or later to remediate this vulnerability. No other specific mitigations are indicated by the vendor advisory.

Description

CVE-2026-113716 is a vulnerability in pypa virtualenv versions prior to 21.14.9 where the builtin environment creator accepts existing directory symlinks during directory preparation. This allows writes outside the intended environment directory through symlinked paths, potentially enabling an attacker with limited access to plant files or executables in locations like ~/.local/bin. The issue arises because ensure_dir() follows symlinks and writes environment files through them, bypassing intended directory boundaries. The vulnerability was fixed in version 21.14.9.

References

Community reviews

Loading reviews…