Insecure DLL loading in py3-virtualenv - #VU169664

 

Insecure DLL loading in py3-virtualenv - #VU169664

Published: November 23, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code with the privileges of the user creating the virtual environment.

The vulnerability exists due to an uncontrolled module search path element in virtualenv's Python helper startup when the interpreter can import code from an untrusted working directory before the helper removes that directory from the search path. A remote attacker can supply an untrusted checkout and induce a user to create a virtual environment from that directory to execute code as that user.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.10

External References

Related Security Bulletins