CVE-2026-113720

virtualenv: Seeded files retain permissions from an older cache

MEDIUM
4.4
CVSS Score
Published: October 20, 2026 at 07:43 PM UTC
Updated: October 22, 2026 at 04:47 PM UTC
1 product affected across 1 vendorVirtualenv

Using virtualenv by pypa?

Get instant alerts when new vulnerabilities affect virtualenv - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 21.14.9

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.4MEDIUMGitHub_M
Vector?

Quick Info

StatusUNDERGOING ANALYSIS
CWE
CWE-732

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card