Insecure Temporary File in py3-virtualenv - CVE-2026-113713

 

Insecure Temporary File in py3-virtualenv - CVE-2026-113713

Published: November 9, 2026


Vulnerability identifier: #VU163154
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-113713
CWE-ID: CWE-377
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an unprivileged local attacker to execute code as an environment owner.

The vulnerability exists due to virtualenv's app-data seeder retaining dangling links after temporary-cache cleanup when VIRTUALENV_SYMLINK_APP_DATA or configured symlink_app_data enables symlink seeding and cache setup falls back to temporary storage. An unprivileged local attacker can reclaim the deleted pathname in a shared temporary directory and plant a replacement package that runs when the owner uses the environment.


Affected software

py3-virtualenv

How to mitigate CVE-2026-113713

Install security update from vendor's website.

py3-virtualenv - update to 21.14.10

External References

Related Security Bulletins