{"id":"CVE-2026-113732","published":"2026-10-20T22:01:23Z","modified":"2026-10-27T13:26:51Z","title":"virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote","vendor":"pypa","product":"virtualenv","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00231,"percentile":0.0835,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab","tags":["x_refsource_MISC"]},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.14.2","tags":["x_refsource_MISC"]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":1.67},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"pypa","affectedVersions":[{"vendor":"pypa","product":"virtualenv","versions":["< 21.14.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-27T13:26:40.567506Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"virtualenv","vulnerableRanges":["<21.14.2"],"patched":["21.14.2"],"from":["GHSA-c947-3pg5-gm8q","PYSEC-2026-4386"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-106866","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-102930","published":"2026-09-29","fixed":"21.7.12","kev":false},{"cve":"CVE-2026-102937","published":"2026-09-29","fixed":"21.7.12","kev":false},{"cve":"CVE-2026-102925","published":"2026-09-29","fixed":"21.7.13","kev":false,"link":{"from":"CVE-2026-102925","to":"CVE-2026-113732","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:virtualenv","fromFixed":"21.7.13","toFixed":"21.14.2","daysApart":21}]}},{"cve":"CVE-2026-113732","published":"2026-10-20","fixed":"21.14.2","kev":false},{"cve":"CVE-2026-113776","published":"2026-10-20","fixed":"21.14.2","kev":false},{"cve":"CVE-2026-113726","published":"2026-10-20","fixed":"21.14.4","kev":false},{"cve":"CVE-2026-113725","published":"2026-10-20","fixed":"21.14.7","kev":false}],"package":"PyPI:virtualenv"}}