CVE-2026-113725

GHSA-vxj4-q4g9-crj7 · PYSEC-2026-4384 · published 20 Oct 2026 · updated 18 Nov 2026

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

8.8HighCVSS 7.8EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 21.14.7 and virtualenv 21.14.7.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pypa<21.14.7
virtualenvvirtualenv<21.14.721.14.7
pypi: virtualenv<21.14.721.14.7

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in virtualenv (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-113725 severity on Zeptric[![CVE-2026-113725](https://zeptric.io/badge/cve/CVE-2026-113725.svg)](https://zeptric.io/cve/CVE-2026-113725)