Bug 2556411 (CVE-2026-113718) - CVE-2026-113718 virtualenv: virtualenv: arbitrary code execution via improper quoting in xonsh activation scripts
Summary: CVE-2026-113718 virtualenv: virtualenv: arbitrary code execution via improper...
Keywords:
Status: NEW
Alias: CVE-2026-113718
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-20 19:51 UTC by OSIDB Bzimport
Modified: 2026-11-03 08:28 UTC (History)
63 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-20 19:51:45 UTC
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that script using $XONSH_ENCODING. Under a legacy multibyte codec such as GBK or Big5, a UTF-8 trail byte can consume the backslash before an adjacent quote, allowing the literal to close and attacker-influenced statements to execute when the user sources the generated script. This issue is fixed in version 21.14.9.


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