Bug 2556400 (CVE-2026-113716) - CVE-2026-113716 virtualenv: virtualenv: Unauthorized file write via symlink following
Summary: CVE-2026-113716 virtualenv: virtualenv: Unauthorized file write via symlink f...
Keywords:
Status: NEW
Alias: CVE-2026-113716
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: 2561889 2561890
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-20 19:31 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:30 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:31:27 UTC
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination when another local account prepared the tree and the invoking user can access the target. The --clear option removes the planted tree first, while ordinary creation reaches it; arbitrary attacker-selected output bytes are not established. 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.