Skip to main content
← All vulnerabilities
CVE-2026-113720GHSA-FC2G-4W5P-6WHM

virtualenv: Seeded files retain permissions from an older cache

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 21.14.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated
  4. First seen by cve.now

Affected versions

  • pypa virtualenv

    fixed in 21.14.9

  • virtualenvPyPI

    fixed in 21.14.9

References 4

GitHub · pypa/virtualenv