Time-of-check Time-of-use (TOCTOU) Race Condition in py3-virtualenv - #VU169662

 

Time-of-check Time-of-use (TOCTOU) Race Condition in py3-virtualenv - #VU169662

Published: November 23, 2026


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

Vulnerability details

The vulnerability allows a local user to cause deletion of files outside the destination environment with the invoking user's permissions.

The vulnerability exists due to a time-of-check time-of-use race condition in the app-data seeder's cleanup routine when it reuses a prepared environment. A local user can interfere with cleanup path resolution during another user's environment creation to cause deletion outside the destination.


Affected software

py3-virtualenv

Remediation

Install security update from vendor's website.

py3-virtualenv - update to 21.15.10

External References

Related Security Bulletins