virtualenv: Temporary app-data can leave dangling seed package links
CVE-2026-113713
Summary The app-data seeder can leave an environment linked to temporary package files that virtualenv deletes when creation finishes. The environment-variable and configuration-file forms of symlinkappdata can enable this state even though the command-line flag is disabled for temporary app-data. The resulting environment depends on a cache pathname that its owner no longer controls. Anthropic's OSS Scanner reported this as ANT-2026-ZOE2GEPC in virtualenv-20261015-005, received on 15 October 2026. This draft records source review and functional remediation checks. The reporter's cross-account code-execution claim has not been independently reproduced. Affected area Integrity of app-data references after temporary cache cleanup. Attacker-controlled input Symlink seeding must be enabled through VIRTUALENVSYMLINKAPPDATA or symlinkappdata in the configuration file, and app-data setup must fall back to a temporary directory. A missing or unwritable configured cache can cause that fallback. Ordinary copy seeding does not leave these references. The security concern requires a shared temporary-directory parent where another account can acquire the deleted cache pathname, followed by use…
Assessment
- CVSS
- 4.4 (v4.0)
- Severity
- Medium
- EPSS
- 0.00204% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 23 October 2026
- Last updated
- 23 October 2026
- Affected
- pip · virtualenv
- Weakness
- CWE-377
CVSS vectorCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
At the source
References
- https://github.com/pypa/virtualenv/security/advisories/GHSA-4f8h-vr72-p32c
- https://nvd.nist.gov/vuln/detail/CVE-2026-113713
- https://github.com/pypa/virtualenv/pull/3437
- https://github.com/pypa/virtualenv/commit/b81995c3feab9e1edb453c75ffc6616e1a77335e
- https://github.com/pypa/virtualenv/releases/tag/21.14.10
- https://github.com/advisories/GHSA-4f8h-vr72-p32c
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-113713