Untrusted search path in py3-virtualenv - #VU169674

 

Untrusted search path in py3-virtualenv - #VU169674

Published: November 23, 2026


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

Vulnerability details

The vulnerability allows a local user to execute arbitrary code with another user's permissions.

The vulnerability exists due to an untrusted standard-library search path in virtualenv's copy mode when a copied CPython shared library on POSIX searches for a sibling standard-library archive outside the environment. A local user can influence which code is loaded from an external search location they can modify to execute code when another user starts the interpreter.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.11

External References

Related Security Bulletins