CVE-2026-113719: virtualenv · Seed replacement does not contain metadata deletion paths
Affects hatchSource GCVE Database
Not known to be exploited · CVSS 4.5 Medium : upgrade to 1.18.1_2 or 1.6.2 when convenient.
Data as of 27 Oct 2026, 23:27 UTC
- Patch
- Available – fixed in 1.18.1_2, 1.6.2
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 hatch to 1.18.1_2 or 1.6.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewhatchpkg:brew/hatchOther 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 hatch versions 1.6.2 and 1.18.1_2 that adds checks to ensure deletion paths remain within the environment root. Users should upgrade to these fixed versions to remediate the vulnerability. Avoid reusing virtual environments containing untrusted or attacker-controlled package metadata. Creating new environments without existing package metadata prevents this issue. No additional mitigation is required once patched.
Description
CVE-2026-113719 is a vulnerability in virtualenv's app-data seeder where the removal of previously installed seed packages does not properly validate deletion paths. This allows deletion of files outside the intended environment if malicious distribution metadata is present. The flaw occurs during environment creation when reusing an existing environment containing manipulated package metadata. The issue was introduced in version 20.8.1 and fixed in versions 1.6.2 and 1.18.1_2 of the affected product. Exploitation requires attacker-controlled metadata and deletion rights by the invoking user. The CVSS score is 4.5 (medium severity).
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)