CVE-2026-113725
virtualenv bash activate runs commands from an environment name with a backslash before $
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | virtualenv | <= 21.14.6 | 21.14.7 |
Betroffene Produkte · Virtualenv
| Produkt | Betroffene Versionen |
|---|---|
| Virtualenv | vor 21.14.7 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-vxj4-q4g9-crj7
- https://github.com/pypa/virtualenv/security/advisories/GHSA-vxj4-q4g9-crj7
- https://nvd.nist.gov/vuln/detail/CVE-2026-113725
- https://github.com/pypa/virtualenv/commit/c3104e02474b652832a9bbaae79f6e1696296932
- https://github.com/pypa/virtualenv/releases/tag/21.14.7