THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-c947-3pg5-gm8q (high) — virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

[GHSA] GHSA-c947-3pg5-gm8q (high) — virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

highgithub_advisoriesPublished 2026-10-21

GHSA-c947-3pg5-gm8q Severity: high CVE: CVE-2026-113732

virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

### Impact

`FishActivator` defines no `quote()`, so it inherits `ViaTemplateActivator.quote`, which returns `shlex.quote(string)`. That function follows POSIX `sh` rules, where a backslash inside single quotes stays a literal character. fish reads

Indicators of compromise

Original source: https://github.com/advisories/GHSA-c947-3pg5-gm8q