CVE-2026-113720

Medium

Description

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the app-data copy seeder uses shutil.copy() to copy cached package files into later environments, causing cached source modes to override the current run's umask. A cache populated under a permissive umask can therefore produce files writable by another local account in a later traversable environment, allowing package code such as pip/__init__.py to be modified and executed by the environment owner. The attacker cannot force the earlier umask, and a private destination parent prevents access. This issue is fixed in version 21.14.9.

SeverityMedium
CVSS4.4
Exploit probability—
ProductVirtualenv
PublishedOct 20, 2026
First seenOct 20, 2026
Weakness typeCWE-732CWE-732

How to fix

Update
  • virtualenv21.14.9 or later

Affected products

ProductAffected versionsFixed in
virtualenvPyPIv < 21.14.921.14.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.