CVE-2026-113732
virtualenv is a tool for creating isolated virtual python …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab
- github.com/pypa/virtualenv/releases/tag/21.14.2
- github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q
- nvd.nist.gov/vuln/detail/CVE-2026-113732
- github.com/advisories/GHSA-c947-3pg5-gm8q
- nvd.nist.gov/vuln/detail/CVE-2026-113732
- cve.org/CVERecord?id=CVE-2026-113732
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.