Link following in py3-virtualenv - CVE-2026-113724
Published: November 9, 2026
Vulnerability details
The vulnerability allows a low-privileged local attacker to change permissions on a victim-owned file outside the virtual environment destination.
The vulnerability exists due to virtualenv's deletion-recovery handler following symlinks when changing permissions after a failed removal. A low-privileged local attacker can supply a symlink inside a read-only directory and have a non-root victim run virtualenv on it, changing a victim-owned target that lacks owner-write permission to mode 0777.