CVE-2026-113726 is an OS command injection vulnerability in virtualenv's bash activate script, which zsh users also source. The script places the environment name (from the directory name, --prompt, or VIRTUAL_ENV_PROMPT) into the PS1 prompt variable. Since version 21.13.0, the script escaped backslashes, dollar signs, and backticks in that name, but only when BASH_VERSION was set. zsh does not set BASH_VERSION, so it received the raw, unescaped value. When zsh's PROMPT_SUBST option is enabled (which oh-my-zsh enables by default), zsh re-expands PS1 on every prompt draw, performing parameter expansion, command substitution, and arithmetic expansion. A malicious environment name such as x$(touch PWNED)y would therefore execute touch PWNED as a command in the user's shell once per prompt. The fix (commit 5b915367) extends the escaping to zsh (by checking ZSH_VERSION as well) and additionally doubles % characters so zsh does not interpret them as prompt escapes. The vulnerable code is the top-level (non-function) block in activate.sh that constructs PS1 from VIRTUAL_ENV_PROMPT without escaping for zsh. There is no named function containing this logic — the only named functions in the script (deactivate and pydoc) are unrelated to the vulnerability. The Python-side code (BashActivator, ViaTemplateActivator) merely renders the template with placeholder substitution and does not perform the vulnerable escaping logic.