Bug 2561911

Summary: CVE-2026-113723 uv: virtualenv: Arbitrary code execution via malicious prompt text [fedora-all]
Product: [Fedora] Fedora Reporter: Vipul Nair <vinair>
Component: uvAssignee: Ben Beasley <code>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: code, mhroncok, python-packagers-sig, rust-sig
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["5cf99913-5815-48b3-9a8b-8456efaeafca"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-02 12:33:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2556420    

Description Vipul Nair 2026-10-27 11:58:01 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, caller-supplied prompt text can become executable syntax in the bash activation prompt. An attacker must influence the value passed to virtualenv, and a user must subsequently activate the environment and draw the prompt. This vulnerability is fixed in 21.14.9.

Comment 1 Miro Hrončok 2026-10-27 15:35:13 UTC
seems that uv has no PS1 escaping of any kind

Comment 2 Miro Hrončok 2026-11-02 12:33:10 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/23058