Bug 2561940 - CVE-2026-113732 uv: virtualenv: Arbitrary code execution via improperly quoted Fish activation scripts [fedora-all]
Summary: CVE-2026-113732 uv: virtualenv: Arbitrary code execution via improperly quote...
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": ["e7710701-f84d-4f41-9fa2-6...
Depends On:
Blocks: CVE-2026-113732
TreeView+ depends on / blocked
 
Reported: 2026-10-27 12:16 UTC by Vipul Nair
Modified: 2026-11-02 12:40 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github astral-sh uv issues 23060 0 None open activate.fish runs commands from a path or prompt 2026-11-02 12:40:43 UTC

Description Vipul Nair 2026-10-27 12:16:41 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.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even though fish interprets backslashes and single quotes differently. An attacker-influenced environment path, --prompt, or VIRTUALENV_PROMPT value containing a backslash before a quote can therefore terminate the generated fish literal and execute command substitution when the user sources activate.fish. This issue is fixed in version 21.14.2.

Comment 1 Miro Hrončok 2026-10-27 15:26:59 UTC
uv seems to be affected here as well by the same class of vulnerability in even more direct form

Comment 2 Miro Hrončok 2026-11-02 12:40:44 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/23060


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