Skip to content
Heist/ feed
High

virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-113732

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-113732

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.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-113732

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

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