Link following in py3-virtualenv - CVE-2026-113721

 

Link following in py3-virtualenv - CVE-2026-113721

Published: November 9, 2026


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

Vulnerability details

The vulnerability allows a low-privileged local attacker to create or overwrite files outside the requested virtual environment with the invoking user's permissions.

The vulnerability exists due to improper link resolution in virtualenv's activation and configuration writers during environment creation. A low-privileged local attacker can prepare destination file links before a user creates an environment, redirecting generated content to targets writable by that user.


Affected software

py3-virtualenv

How to mitigate CVE-2026-113721

Install security update from vendor's website.

py3-virtualenv - update to 21.14.9

External References

Related Security Bulletins