BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-113721 in Virtualenv products

Medium 4.5

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 firs...

Affects 0 products from 1 vendor. Facts below cite their sources.

CVSS 3.14.5
EPSS0.2%
EPSS percentile2th
FixUnknown

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Virtualenv — —
Virtualenv Virtualenv ≥ 20.0.0, < 21.14.9

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-113721
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Published2026-10-20
Last modified2026-11-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

CAPEC-76 Manipulating Web Input to File System Calls via CWE-59

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A medium severity vulnerability (CVE-2026-113721) affects the target system. 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 activ...

Questions

What is CVE-2026-113721?

A medium severity vulnerability (CVE-2026-113721) affects the target system. 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 activ...

What is the CVSS score for CVE-2026-113721?

CVE-2026-113721 has CVSS 4.5 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.2%.

Is CVE-2026-113721 actively exploited?

No confirmed active exploitation of CVE-2026-113721 as of 2026-11-18.

How do I remediate CVE-2026-113721?

Apply vendor patches for CVE-2026-113721. Monitor Virtualenv advisories.

What systems are affected by CVE-2026-113721?

CVE-2026-113721 affects Virtualenv.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Virtualenv","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-17.