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.
Published: 2026-10-20
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local code execution via dangling package links in virtualenv
Action: Upgrade Virtualenv
AI Analysis

Impact

The vulnerability stems from the virtualenv app‑data seeder (CWE‑377) leaving an environment linked to temporary package files that are deleted after creation. Consequently, the environment depends on a cache path controlled by an external source, allowing a dangling symlink to point to an untrusted location. An attacker who can influence the environment variable or configuration file that enables symlink_app_data could create such a malicious symlink. Once the virtual environment is activated, code from the unintended location may be executed, providing local code execution within the user’s environment.

Affected Systems

The flaw affects the Python package creator pypa’s virtualenv. Versions 21.14.8 and 21.14.9, as well as any installation that has not been updated to 21.14.10 or later, are vulnerable. Older or newer releases are not susceptible.

Risk and Exploitability

The CVSS score of 4.4 signals moderate severity. EPSS is < 1% and the vulnerability is not listed in the CISA KEV catalog. The weakness originates from improper handling of temporary data (CWE‑377), which leads to dangling symbolic links that depend on a cache path beyond the host’s control. The most probable attack vector is local, inferred from the fact that an attacker must affect the environment variable or configuration file that enables symlink_app_data to create the vulnerable environment. Exploitation requires the target to build or activate a virtual environment with the compromised settings, and the risk of exploitation is low to moderate; however, because remote access is not needed, any user with permission to create virtualenvs faces potential compromise.

Generated by OpenCVE AI on October 22, 2026 at 20:28 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install virtualenv version 21.14.10 or newer, which fixes the dangling app‑data issue.
  • Ensure that the configuration setting symlink_app_data is disabled or removed from environment variables and config files to prevent unintended links.
  • Recreate any virtual environments that were built while the vulnerability existed and delete any temporary package files or lingering links that may have been left behind.
  • Validate any paths or inputs used by virtualenv to derive seed package links, ensuring they are not manipulated to create dangling symlinks, thereby addressing CWE‑377.

Generated by OpenCVE AI on October 22, 2026 at 20:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4f8h-vr72-p32c virtualenv: Temporary app-data can leave dangling seed package links
History

Tue, 27 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-59
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Moderate


Tue, 20 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Pypa
Pypa virtualenv
Vendors & Products Pypa
Pypa virtualenv

Tue, 20 Oct 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title virtualenv: Temporary app-data can leave dangling seed package links
Weaknesses CWE-377
References
Metrics cvssV4_0

{'score': 4.4, 'vector': 'CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-27T13:37:48.952Z

Reserved: 2026-10-20T16:03:14.862Z

Link: CVE-2026-113713

cve-icon Vulnrichment

Updated: 2026-10-27T13:37:22.287Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-20T19:17:33.887

Modified: 2026-10-27T14:16:33.160

Link: CVE-2026-113713

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-20T19:06:25Z

Links: CVE-2026-113713 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T20:30:12Z

Weaknesses
  • CWE-377

    Insecure Temporary File

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')