Back to CVE records
High 7.8Published Oct 20, 2026

CVE-2026-113725virtualenv bash activate runs commands from an environment name with a backslash before $

Updated under an hour ago ()

Does this affect you?

It affects pypa virtualenv. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-78, CWE-116
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Received
Record last updated
Oct 20, 2026
First seen by InfoSec Signals
Oct 20, 2026

Affected products

Affected products
pypa virtualenv
pypa:virtualenv (from the name)
before 21.14.7
CNA record

References

  • x-refsource-confirm
  • x-refsource-misc
  • x-refsource-misc

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.