{"id":"CVE-2026-113732","revision":"5309d1bd4d1644a89a19f1ffc8ca1f17","records":[{"revision":"5309d1bd4d1644a89a19f1ffc8ca1f17","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-113732","aliases":[],"title":"virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote","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.","state":0,"publishedAt":"2026-10-20T22:01:23.931+00:00","modifiedAt":"2026-10-20T22:01:23.931+00:00","affected":[{"ecosystem":"Vendor product","name":"virtualenv","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pypa\",\n                    \"product\": \"virtualenv\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 21.14.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q","https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab","https://github.com/pypa/virtualenv/releases/tag/21.14.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-113732","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-113732","identifiers":["CVE-2026-113732"]},"retained":false,"historicalAffected":[]}],"coverage":[]}