---
title: "CVE-2026-113721"
canonical_url: "https://pkgseek.com/security/CVE-2026-113721"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-113721

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, ViaTemplateActivator._generate() removes an existing output only when Path.exists() is true, allowing a dangling symlink to survive and redirect generated activation content, while PyEnvCfg.write() opens pyvenv.cfg without first replacing an existing symbolic or hard link. Another local account that prepares final entries inside the destination can therefore cause environment creation to create or overwrite files outside the requested tree with constrained virtualenv-generated content and the invoking use…

CVE-2026-113721 is rated MEDIUM (4.5), with 2 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (4.5)
- **Affected builds**: 2
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-virtualenv | 20.31.2+ds-1+deb13u1 | — |
| Debian | trixie | virtualenv | 20.31.2+ds-1+deb13u1 | — |
