// Security Advisory Triage

virtualenv bash activate script executes commands from environment names

GitHub advisories — pip · published 2026-10-22 04:49 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDCVE-2026-113725 published 21 October 2026. virtualenv bash activate scripts execute commands when an environment name contains a backslash before a dollar sign. First patched version: 21.14.7.
WHY IT MATTERSAn attacker who controls environment names can inject arbitrary commands that execute when a developer or CI system sources the activate script. This is a command injection vector in a widely deployed Python dependency isolation tool.
WHAT TO DOUpgrade virtualenv to 21.14.7 or later. Audit environment names in your repositories and CI pipelines for backslash-dollar patterns.
Model-reported confidence 85% (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-vxj4-q4g9-crj7
+summary: virtualenv bash activate runs commands from an environment name with a backslash before $
+severity: high
+published_at: 2026-10-21T16:49:01Z
+cve_id: CVE-2026-113725
+vulnerabilities[].package.name: virtualenv
+vulnerabilities[].first_patched_version: 21.14.7
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 most service dependency trees; bash activation script injection is exploitable and actionable.
signalsknown exploitation vector: bash activate script command injection · high severity rating · affects virtualenv — widely used in Python dependency trees · first patched version specified: 21.14.7 · new advisory with CVE assignment
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)