Bug 2557255 (CVE-2026-113732) - CVE-2026-113732 virtualenv: virtualenv: Arbitrary code execution via improperly quoted Fish activation scripts
Summary: CVE-2026-113732 virtualenv: virtualenv: Arbitrary code execution via improper...
Keywords:
Status: NEW
Alias: CVE-2026-113732
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2561940 2561941
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-20 23:53 UTC by OSIDB Bzimport
Modified: 2026-11-19 19:29 UTC (History)
63 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:100715 0 None None None 2026-11-19 19:29:41 UTC
Red Hat Product Errata RHSA-2026:100716 0 None None None 2026-11-19 19:26:46 UTC

Description OSIDB Bzimport 2026-10-20 23:53:12 UTC
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 3 errata-xmlrpc 2026-11-19 19:26:41 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.7 for RHEL 9
  Red Hat Ansible Automation Platform 2.7 for RHEL 10

Via RHSA-2026:100716 https://access.redhat.com/errata/RHSA-2026:100716

Comment 4 errata-xmlrpc 2026-11-19 19:29:37 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.6 for RHEL 9
  Red Hat Ansible Automation Platform 2.6 for RHEL 10

Via RHSA-2026:100715 https://access.redhat.com/errata/RHSA-2026:100715


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