Bug 2561897 - CVE-2026-113715 uv: virtualenv: Environment isolation bypass via crafted destination path [fedora-all]
Summary: CVE-2026-113715 uv: virtualenv: Environment isolation bypass via crafted dest...
Keywords:
Status: CLOSED UPSTREAM
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": ["93dd2223-1666-4f30-a9cc-4...
Depends On:
Blocks: CVE-2026-113715
TreeView+ depends on / blocked
 
Reported: 2026-10-27 11:52 UTC by Vipul Nair
Modified: 2026-11-02 12:22 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-11-02 12:22:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github astral-sh uv issues 23054 0 None open Venv configuration readback can reinterpret path boundaries 2026-11-02 12:22:55 UTC

Description Vipul Nair 2026-10-27 11:52:51 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, the stdlib venv creator reads generated pyvenv.cfg with str.splitlines() and merges parsed keys over virtualenv's selected configuration. An untrusted caller who influences the destination pathname can include a line-boundary character such as U+2028 to inject keys including home and include-system-site-packages, causing path data to change configuration structure before final output. Setting include-system-site-packages to true weakens environment isolation, while an altered home can change which standard-library files the interpreter loads if the attacker also controls that location. The builtin creator does not use this readback path. This issue is fixed in version 21.14.9.

Comment 1 Miro Hrončok 2026-10-27 15:54:21 UTC
seems reproducible, despite not being related to the activation scripts

Comment 2 Miro Hrončok 2026-11-02 12:22:56 UTC
Reported to uv security contact and got a reply: This does not constitute vulnerability within uv’s attacker and threat models

Public upstream bug: https://github.com/astral-sh/uv/issues/23054


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