{"id":"CVE-2026-113732","published":"2026-10-20T22:19:30.413","lastModified":"2026-10-22T16:47:38.403","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.","cvssScore":7.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-78","CWE-116"],"vendors":[],"products":[],"references":[{"url":"https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab","tags":[]},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.14.2","tags":[]},{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q","tags":[]}],"exploitRefs":[{"url":"https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab","tags":[]},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.14.2","tags":[]},{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q","tags":[]}],"hasPoc":true,"ai":null}