4.5

CVE-2026-113721: virtualenv: Generated files can follow existing destination links

Analyzed
AliasesGHSA-558c-9hv2-4prjDEBIAN-CVE-2026-113721CGA-2572-vx4v-2jrq
Published 20-10-2026Last modified 28-10-2026

Vulnerability summary

CVE-2026-113721 is a medium (CVSS 4.5) vulnerability in pypa virtualenv. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 9.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 4.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.20%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Timeline

  1. 20-10-2026
    PublishedVulnerability first disclosed.
  2. 28-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

Increase +0.05 pp

From 0.14% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Virtualenv

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard7 products
  • nemo-gymAll versions (No fix recorded) | < 0.5.0_rc0_git20260729-r8
  • nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-automodel< 0.7.0-r15
  • nemo-rl-cuda-13.0-mcoreAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-sglangAll versions (No fix recorded)
Debian1 product
  • python-virtualenvAll versions (No fix recorded) | < 21.15.6+ds-1
Pypa1 product
PyPI1 product
  • virtualenv< 21.14.9 | ≥ 20.0.0, < 21.14.9
Ubuntu1 product
  • python-virtualenvAll versions (No fix recorded)
Virtualenv1 product

6 vendors · 12 products

References

10 links