Bug 2561911 - CVE-2026-113723 uv: virtualenv: Arbitrary code execution via malicious prompt text [fedora-all]
Summary: CVE-2026-113723 uv: virtualenv: Arbitrary code execution via malicious prompt...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: uv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Ben Beasley
QA Contact:
URL:
Whiteboard: {"flaws": ["5cf99913-5815-48b3-9a8b-8...
Depends On:
Blocks: CVE-2026-113723
TreeView+ depends on / blocked
 
Reported: 2026-10-27 11:58 UTC by Vipul Nair
Modified: 2026-11-02 12:33 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github astral-sh uv issues 23058 0 None open Bash prompt values can change meaning under older compatibility modes (POSIX) 2026-11-02 12:33:09 UTC

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


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