// Security Advisory Triage

virtualenv executes shell commands from environment names in zsh

GitHub advisories — pip · published 2026-10-22 04:49 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-113726 published 21 October 2026: virtualenv before 21.14.4 executes shell commands embedded in environment names when activating in zsh with PROMPT_SUBST enabled. Patched in 21.14.4.
WHY IT MATTERSAn attacker who controls environment names can achieve command injection in developer workstations and CI/CD pipelines running zsh. PROMPT_SUBST is a common zsh configuration, and virtualenv is a standard Python development dependency.
WHAT TO DOUpgrade virtualenv to 21.14.4 or later. Check CI/CD images and developer machine requirements. Grep for virtualenv version pins in requirements files and Dockerfiles.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-5vjq-rrrf-7h2q
+summary: virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST
+severity: high
+published_at: 2026-10-21T16:46:23Z
+cve_id: CVE-2026-113726
+vulnerabilities[].package.name: virtualenv
+vulnerabilities[].first_patched_version: 21.14.4
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningvirtualenv is a standard Python tool in CI/CD and dev environments; zsh injection via PROMPT_SUBST is exploitable.
signalsknown exploitation vector: shell command injection via environment variable in widely-used developer tool · high severity rating with CVE assigned · virtualenv is in dependency tree of normal Python development workflows · affects developer tools and CI/CD environments where zsh is common · patched version available (21.14.4) · new advisory entry with published date
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)