Skip to content
Heist/ feed
High

virtualenv: Xonsh activation literals depend on the script decoding codec

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-113718

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-113718

virtualenv

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "pypa",
    "product": "virtualenv",
    "versions": [
      {
        "status": "affected",
        "version": "< 21.14.9"
      }
    ]
  }
]
Related CVEs
CVE-2026-113718

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#42583 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement