CVE-2026-113721
Last modified
CVE-2026-113721 is a medium-severity vulnerability rated 4.5/10 on the CVSS scale. 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.
Description
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 user's permissions. The destination parent must remain controlled by the environment owner during creation; concurrent parent-directory replacement is a separate concern. This issue is fixed in version 21.14.9.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pypa | virtualenv | < 21.14.9 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-113721?
How severe is CVE-2026-113721?
How do I fix CVE-2026-113721?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-113716virtualenv is a tool for creating isolated virtual python en…4.5
- CVE-2026-113717virtualenv is a tool for creating isolated virtual python en…2.3
- CVE-2026-113718virtualenv is a tool for creating isolated virtual python en…7.1
- CVE-2026-113719virtualenv is a tool for creating isolated virtual python en…4.5
- CVE-2026-11372IBM TRIRIGA Application Platform 5.0.2 through 5.0.3 is vuln…5.4
- CVE-2026-113720virtualenv is a tool for creating isolated virtual python en…4.4
- CVE-2026-113722virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-113723virtualenv is a tool for creating isolated virtual python en…7.1
- CVE-2026-113724virtualenv is a tool for creating isolated virtual python en…4.5
- CVE-2026-113725virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-113726virtualenv is a tool for creating isolated virtual python en…7.8
- CVE-2026-113727OpenChoreo is a developer platform for Kubernetes. From 1.0.…7.4
Are you affected by CVE-2026-113721?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
