CVE Catalog

CVE-2026-113716

MediumCVSS 4.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.12%

2th percentile - higher than 2% of all known CVEs

Summary

In virtualenv before 21.14.9, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination.

Risk Assessment

Another local account could prepare the directory tree, causing files to be written outside the intended environment with the invoking user's permissions. This may compromise system integrity or enable further attacks.

Recommendation

Update virtualenv to version 21.14.9 or later. Use the --clear option or ensure the destination directory does not contain pre-planted symlinks.

Other vulnerabilities in virtualenv

See all
Original NVD description (English source)

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the builtin creator calls ensure_dir() for executable, library, and package directories, and ensure_dir() accepts an existing symlink to a directory because exists() follows it. Interpreter creation, seed installation, and activation generation then write through the linked parent outside the requested destination when another local account prepared the tree and the invoking user can access the target. The --clear option removes the planted tree first, while ordinary creation reaches it; arbitrary attacker-selected output bytes are not established. This issue is fixed in version 21.14.9.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS