{"id":"CVE-2026-113720","published":"2026-10-20T19:43:32Z","modified":"2026-10-21T15:52:33Z","title":"virtualenv: Seeded files retain permissions from an older cache","vendor":"pypa","product":"virtualenv","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00162,"percentile":0.03054,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-fc2g-4w5p-6whm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pypa/virtualenv/pull/3425","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/virtualenv/commit/35f0b33562790176dd186d0a3c517af3acc7a0e1","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.14.9","tags":["x_refsource_MISC"]}],"priority":{"score":3.7,"factors":[{"name":"EPSS percentile","points":0.61},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"pypa","affectedVersions":[{"vendor":"pypa","product":"virtualenv","versions":["< 21.14.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-21T14:24:43.461629Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"virtualenv","vulnerableRanges":["<21.14.9",">=20.0.0, <21.14.9"],"patched":["21.14.9"],"from":["GHSA-fc2g-4w5p-6whm","PYSEC-2026-4379"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-105302","exploited":false,"provenance":"source"}}