Skip to main content
← All vulnerabilities
CVE-2026-113725GHSA-VXJ4-Q4G9-CRJ7

virtualenv bash activate runs commands from an environment name with a backslash before $

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 21.14.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \$(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated
  4. First seen by cve.now

Affected versions

  • pypa virtualenv

    fixed in 21.14.7

  • virtualenvPyPI

    fixed in 21.14.7

References 3

GitHub · pypa/virtualenv