High severity7.8NVD Advisory· Published Oct 20, 2026· Updated Nov 17, 2026
CVE-2026-113732
CVE-2026-113732
Description
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
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
virtualenvPyPI | < 21.14.2 | 21.14.2 |
Affected products
3- osv-coords2 versions
< 21.14.2+ 1 more
- (no CPE)range: < 21.14.2
- (no CPE)range: < 21.15.1-1.1
- Range: <21.14.2
Patches
Vulnerability mechanics
References
5- github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcabnvdPatchWEB
- github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8qnvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-c947-3pg5-gm8qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-113732ghsaADVISORY
- github.com/pypa/virtualenv/releases/tag/21.14.2nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.