Security Resilience

CVE-2026-113724

Virtualenv 21.7.5 – 21.14.9

Public PoC
Published
20 October 2026
Modified
17 November 2026
Patch / advisory
CVSS Score v3.1 4.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0020 10th percentile
Risk Priority 35 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-113724 is a medium-severity Link Following (CWE-59) vulnerability in Virtualenv. Its CVSS base score is 4.5 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Stealth (T1211); ranked at the 10th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, the safe_delete() deletion error handler responds to a failed removal by reading mode bits with os.lstat(path) and applying owner-write permission with os.chmod(path, ...), which follows a symlink.…

more

A planted link inside a read-only directory can therefore cause a victim-owned target outside the destination that is initially not writable by the invoking user to become broadly writable before the retry fails, provided that user owns the target and can change its mode. Another account can use the widened mode only if it can traverse the target's parent directories; root does not reach the demonstrated failure path, and the operation does not itself read the target. This issue is fixed in version 21.14.9.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1211 Exploitation for Stealth Stealth
Adversaries may exploit vulnerabilities to evade detection by hiding activity, suppressing logging, or operating within trusted or unmonitored components.
T1611 Escape to Host Privilege Escalation
Adversaries may break out of a container or virtualized environment to gain access to the underlying host.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
T1014 Rootkit Stealth
Adversaries may use rootkits to hide the presence of programs, files, network connections, services, drivers, and other system components.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1080 Taint Shared Content Lateral Movement
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-113716Same product: Virtualenv Virtualenv
CVE-2026-113721Same product: Virtualenv Virtualenv
CVE-2026-102925Same product: Virtualenv Virtualenv
CVE-2026-113722Same product: Virtualenv Virtualenv
CVE-2026-102937Same product: Virtualenv Virtualenv
CVE-2026-113723Same product: Virtualenv Virtualenv
CVE-2026-113726Same product: Virtualenv Virtualenv
CVE-2024-53899Same product: Virtualenv Virtualenv
CVE-2026-113732Same product: Virtualenv Virtualenv
CVE-2026-113725Same product: Virtualenv Virtualenv

Affected Assets

virtualenv
virtualenv
21.7.5 — 21.14.9

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Proper enforcement of access authorizations on the resolved target resource stops a link from reaching an unintended object.

Least-privilege limits the damage an attacker can cause after following an unintended link.

Validating file-name inputs can reject or canonicalize names that resolve to links before access occurs.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require code to validate paths and avoid unsafe link following.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect link-following flaws before release.

prevents

Training developers about secure file handling practices (checking for symlinks, using safe file APIs, avoiding predictable temp filenames) reduces some instances of link-following defects, but the effect is a minority one because the practice is fallible and the stronger control is A.8.29 security testing, consistent with the A.8.28 -> CWE-79 and A.6.3 -> CWE-598 anchors.

prevents

Secure coding standards directly address canonicalization and symlink attacks during implementation.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; CWE-59 is an ordinary implementation defect, but the clause's reach is bounded by the supplier's fallible practice and the ceiling on this verb is `partial`.

finds

A.8.8's reach is DISCLOSURE — it surfaces link-following flaws only where they appear as published advisories in third-party components in the inventory. CWE-59 does surface as CVEs (many observed examples), so the disclosed share is non-trivial, but most link-following instances live in first-party code or in third-party components without a published advisory, which A.8.8 does not reach.

References