Code Injection in py3-virtualenv - #VU169661

 

Code Injection in py3-virtualenv - #VU169661

Published: November 23, 2026


Vulnerability identifier: #VU169661
CSH Severity: Low
CVSS v4: 1.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary Python code with the privileges of the user who invokes an affected pip launcher.

The vulnerability exists due to improper control of code generation in the pip seeder when it rewrites launchers for environments created with the builtin creator on POSIX, allowing part of the destination path to be interpreted as Python code. A remote attacker can influence the environment's destination path and rely on a user to invoke the generated launcher to execute Python code.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.10

External References

Related Security Bulletins