Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfc
- https://github.com/pypa/virtualenv/releases/tag/21.14.2
- https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q
FAQ
What is CVE-2026-113732?
CVE-2026-113732 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 interpret...
How severe is CVE-2026-113732?
CVE-2026-113732 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-113732?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.