Bug 2561908 - CVE-2026-113722 uv: virtualenv: arbitrary code execution via improperly quoted interpreter paths in script launchers [fedora-all]
Summary: CVE-2026-113722 uv: virtualenv: arbitrary code execution via improperly quote...
Keywords:
Status: NEW
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": ["e8821106-0364-4391-a46c-8...
Depends On:
Blocks: CVE-2026-113722
TreeView+ depends on / blocked
 
Reported: 2026-10-27 11:56 UTC by Vipul Nair
Modified: 2026-10-27 15:41 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Vipul Nair 2026-10-27 11:56:30 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, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. When the path contains a space or produces a shebang longer than 127 bytes, distlib emits a /bin/sh wrapper whose double-quoted interpreter path still expands command substitutions and backticks. An attacker who influences the environment destination can therefore execute commands with the user's privileges when the user later runs a generated launcher; environment creation and activation do not trigger the command. Existing launchers are not repaired by upgrading virtualenv alone and must be regenerated, while a later independent pip installation or upgrade can reintroduce an affected launcher because pip's vendored distlib is unchanged. The virtualenv fix is released in version 21.14.9.

Comment 1 Miro Hrončok 2026-10-27 15:41:57 UTC
not about activation scripts either, but seems reproducible in uv anway


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