# PYSEC-2026-4372: virtualenv is a tool for creating isolated virtual python environments

- Database: PyPA
- Also known as: BIT-VIRTUALENV-2026-113713
- Published: 2026-10-20
- Modified: 2026-11-18

## Tracked as

- [CVE-2026-113713](https://cve.now/CVE-2026-113713.md): virtualenv: Temporary app-data can leave dangling seed package links

## Also published as

- [GHSA-4F8H-VR72-P32C](https://cve.now/GHSA-4F8H-VR72-P32C.md) (GitHub)

## Affected versions

- virtualenv (PyPI): from 20.0.6, fixed in 21.14.10

## Description

virtualenv is a tool for creating isolated virtual python environments. From 21.14.8 until 21.14.10, the app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environment-variable and configuration-file forms of symlink_app_data can enable this state even though the command-line flag is disabled for temporary app-data. The resulting environment depends on a cache pathname that its owner no longer controls. This issue is fixed in version 21.14.10.

## References

- https://github.com/pypa/virtualenv/releases/tag/21.14.10
- https://github.com/pypa/virtualenv/commit/b81995c3feab9e1edb453c75ffc6616e1a77335e
- https://github.com/pypa/virtualenv/pull/3437
- https://github.com/pypa/virtualenv/security/advisories/GHSA-4f8h-vr72-p32c

Page: https://cve.now/PYSEC-2026-4372

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
