ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-113732

Details

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.

Affected packages

EcosystemPackageAffected versions
Debian:12python-virtualenv
All versions, no fix listed
Debian:13python-virtualenv
All versions, no fix listed
Debian:14python-virtualenv
All versions before 21.15.6+ds-1 (fixed in 21.15.6+ds-1)

References