OS Command Injection in py3-virtualenv - CVE-2026-113725

 

OS Command Injection in py3-virtualenv - CVE-2026-113725

Published: November 9, 2026


Vulnerability identifier: #VU163141
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-113725
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unprivileged local attacker to execute arbitrary commands with the privileges of a user who activates an attacker-influenced environment.

The vulnerability exists due to incomplete escaping of environment names in virtualenv's Bash activation script when a backslash precedes a dollar sign. An unprivileged local attacker can manipulate the environment name so commands execute whenever Bash renders the prompt after a non-root user sources the environment's activation script.


Affected software

py3-virtualenv

How to mitigate CVE-2026-113725

Install security update from vendor's website.

py3-virtualenv - update to 21.14.7

External References

Related Security Bulletins