Untrusted search path in py3-virtualenv - #VU169672

 

Untrusted search path in py3-virtualenv - #VU169672

Published: November 23, 2026


Vulnerability identifier: #VU169672
CSH Severity: Low
CVSS v4: 1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/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 code with the permissions of the user invoking virtualenv.

The vulnerability exists due to an untrusted search path in virtualenv's default configuration and cache path resolution when HOME is unset and the invoking user has no account database entry. A local user can supply project-controlled configuration in an untrusted checkout to cause virtualenv to execute a working-tree interpreter when the victim runs virtualenv there.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.10

External References

Related Security Bulletins