Skip to main content
CVE-2026-113720VulnerabilityPublished Updated

Virtualenv: Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package files into later

Affects virtualenvSource GCVE Database

0
Compare
Authoritative record:CVE-2026-113720· Medium 4.4

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

Data as of 18 Nov 2026, 13:07 UTC

CVSS 4.0 base score
4.4Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 21.14.9
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

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 17 Nov 2026.

What to do

Upgrade virtualenv to 21.14.9.

Affected software

ProductAffectedFixed in
PyPIvirtualenvpkg:pypi/virtualenvOther threatsAffected
  • 20.0.0 – 21.14.8
  • >=20.0.0 <21.14.9
191 affected builds
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

Upgrade virtualenv to version 21.14.9 or later, where this issue is fixed. Applying this official fix eliminates the risk of cached package files having overly permissive permissions. No additional mitigation is required once the patch is applied.

Description

Virtualenv versions prior to 21.14.9 use shutil.copy() in the app-data copy seeder to copy cached package files, which causes cached source modes to override the current run's umask. This can result in files that are writable by other local accounts in later environments, allowing modification and execution of package code by the environment owner. The issue is fixed in version 21.14.9.

References

Community reviews

Loading reviews…