Bug 2561885 - CVE-2026-113713 uv: virtualenv: Arbitrary code execution via insecure temporary cache symlinks [fedora-all]
Summary: CVE-2026-113713 uv: virtualenv: Arbitrary code execution via insecure tempora...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: uv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard: {"flaws": ["69dedc7c-7748-4ca0-8e1a-e...
Depends On:
Blocks: CVE-2026-113713
TreeView+ depends on / blocked
 
Reported: 2026-10-27 11:48 UTC by Vipul Nair
Modified: 2026-10-27 16:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-10-27 16:06:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-10-27 11:48:42 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. From 21.14.8 until 21.14.10, the app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environment-variable and configuration-file forms of symlink_app_data can enable this state even though the command-line flag is disabled for temporary app-data. The resulting environment depends on a cache pathname that its owner no longer controls. This issue is fixed in version 21.14.10.

Comment 1 Ben Beasley 2026-10-27 12:19:29 UTC
Only the activation scripts are vendored (and modified) in uv from virtualenv. Since this flaw doesn’t lie in the activation scripts, it can’t affect uv.

Comment 2 Ben Beasley 2026-10-27 15:52:19 UTC
Since bug 2561913 turned out to be reproducible in uv despite not involving activation scripts (perhaps due to similar design flaws in separate implementations), I’m reopening this for further triaging.

Comment 3 Miro Hrončok 2026-10-27 16:06:16 UTC
not applicable, uv already guards against this since 0.2.31

$ uv pip install --no-cache --link-mode=symlink iniconfig
Resolved 1 package in 159ms
Prepared 1 package in 23ms
error: Symlink-based installation is not supported with `--no-cache`. The created environment will be rendered unusable by the removal of the cache.


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