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

 

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

Published: November 9, 2026


Vulnerability identifier: #VU163139
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-113776
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 code with the privileges of a user activating a virtual environment.

The vulnerability exists due to sequential placeholder substitution in virtualenv activation templates rewriting previously quoted values when an environment path or prompt contains a placeholder name. An unprivileged local attacker can influence that path or prompt to inject code that runs when the victim activates the environment.


Affected software

py3-virtualenv

How to mitigate CVE-2026-113776

Install security update from vendor's website.

py3-virtualenv - update to 21.14.2

External References

Related Security Bulletins