BIT-virtualenv-2026-113718

    Dashboard / Vulnerabilities / BIT-virtualenv-2026-113718

    BIT-virtualenv-2026-113718

    Published: 29 Oct 2026Last Modified: 29 Oct 2026

    Summary: virtualenv: Xonsh activation literals depend on the script decoding codec

    Details: 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.

    Affected packages

    Package

    Name: virtualenv

    Purl: pkg:bitnami/virtualenv

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -21.14.9

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High