CVE-2026-113719: virtualenv · Seed replacement does not contain metadata deletion paths
Affects pre-commitSource GCVE Database
Not known to be exploited · CVSS 4.5 Medium : upgrade to 4.7.0_1 or 2.20.0_1 when convenient.
Data as of 27 Oct 2026, 06:44 UTC
- Patch
- Available – fixed in 4.7.0_1, 2.20.0_1
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade pre-commit to 4.7.0_1 or 2.20.0_1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpre-commitpkg:brew/pre-commitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in virtualenv versions 2.20.0_1 and 4.7.0_1. Users should upgrade to these or later versions to ensure the vulnerability is patched. The fix adds checks to ensure deletion paths are contained within the environment root, preventing arbitrary file deletion. Avoid reusing environments containing untrusted or attacker-influenced distribution metadata. Creating new environments without existing package metadata does not trigger this issue.
Description
CVE-2026-113719 is a vulnerability in virtualenv's app-data seeder that improperly deletes files outside the intended environment during seed package removal. It occurs when distribution metadata contains paths that traverse outside the environment, allowing deletion of arbitrary files if the invoking user has permissions. This affects reuse of environments containing metadata influenced by another account. The issue was introduced in version 20.8.1 and fixed in versions 2.20.0_1 and 4.7.0_1.
References
- github.com/pypa/virtualenv/security/advisories/GHSA-hhxq-47xx-j5xx (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-113719 (opens in a new tab)
- github.com/pypa/virtualenv/pull/3428 (opens in a new tab)
- github.com/pypa/virtualenv/commit/e3cea6fa10a50fa29cf1fdddd772458fba076d5f (opens in a new tab)
- github.com/pypa/virtualenv (opens in a new tab)
- github.com/pypa/virtualenv/releases/tag/21.14.9 (opens in a new tab)