THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-x78j-v8h9-3j2q (high) — virtualenv: Command injection via --prompt in activate.bat (batch activator)

[GHSA] GHSA-x78j-v8h9-3j2q (high) — virtualenv: Command injection via --prompt in activate.bat (batch activator)

medgithub_advisoriesPublished 2026-10-01

GHSA-x78j-v8h9-3j2q Severity: high CVE: CVE-2026-102937

virtualenv: Command injection via --prompt in activate.bat (batch activator)

`BatchActivator.quote()` returned its input unchanged, the only activator with no escaping at all. `--prompt`, the `VIRTUALENV_PROMPT` environment variable, and the config file all set the prompt, and `activate.bat` writes it straight into `@set "VAR=value"`. A pro

Indicators of compromise

Original source: https://github.com/advisories/GHSA-x78j-v8h9-3j2q