Bug 2556408 (CVE-2026-113720) - CVE-2026-113720 virtualenv: virtualenv: Arbitrary code execution via insecure cached file permissions
Summary: CVE-2026-113720 virtualenv: virtualenv: Arbitrary code execution via insecure...
Keywords:
Status: NEW
Alias: CVE-2026-113720
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2561894 2561896
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-20 19:51 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:29 UTC (History)
63 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-20 19:51:32 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.