Bug 2561914 - CVE-2026-113721 uv: virtualenv: Arbitrary file overwrite via insecure symlink handling [epel-all]
Summary: CVE-2026-113721 uv: virtualenv: Arbitrary file overwrite via insecure symlink...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: uv
Version: epel10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard: {"flaws": ["6bcb4cf3-6154-4d3c-ab3d-a...
Depends On:
Blocks: CVE-2026-113721
TreeView+ depends on / blocked
 
Reported: 2026-10-27 11:58 UTC by Vipul Nair
Modified: 2026-11-13 12:32 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-13 12:32:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github astral-sh uv issues 23056 0 None open Generated files can follow existing destination links 2026-11-13 12:32:27 UTC

Description Vipul Nair 2026-10-27 11:58:49 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to survive and redirect generated activation content, while PyEnvCfg.write() opens pyvenv.cfg without first replacing an existing symbolic or hard link. Another local account that prepares final entries inside the destination can therefore cause environment creation to create or overwrite files outside the requested tree with constrained virtualenv-generated content and the invoking user's permissions. The destination parent must remain controlled by the environment owner during creation; concurrent parent-directory replacement is a separate concern. 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.