Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-113719— virtualenv: Seed replacement does not contain metadata deletion paths

Quick assessment

Affected
pypa virtualenv
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

virtualenv 是一个用于创建隔离的虚拟 Python 环境的工具。在 21.14.9 版本之前, 方法会接受现有的种子包元数据,而 方法在将 和 中的条目合并到 时,未对路径包含关系进行检查。当复用的目标目录包含受其他账户影响的分布元数据时,若存在相对路径遍历、绝对路径条目或链接的父目录,可能导致在环境创建过程中(即环境后续使用之前)以调用用户的权限删除环境外甚至环境根目录之外的文件,前提是该用户对指定路径拥有删除权限。对于不存在现有包元数据的全新环境,或使用 选项创建的环境,不会触发此清理路径。该问题已在

CVSS 4.5 · Medium

Affected Version Matrix 1

VendorProduct Version RangeStatus
pypa virtualenv < 21.14.9 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-113719

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
virtualenv: Seed replacement does not contain metadata deletion paths
Source: CVE Program / CVE List V5
Vulnerability Description
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, PipInstall._uninstall_previous_version() accepts existing seed-package metadata and _uninstall_dist() joins entries from top_level.txt and RECORD to site-packages without checking containment. When a reused destination contains distribution metadata influenced by another account, relative traversal, absolute entries, or linked parents can cause app-data reseeding to delete files outside the environment or the environment root with the invoking user's permissions, provided that user has deletion rights over the named paths. The deletion occurs during environment creation before any later use of the environment. Fresh environments without existing package metadata and creation with --clear do not enter this cleanup path. This issue is fixed in version 21.14.9.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
pypa virtualenv < 21.14.9 -

II. Public POCs for CVE-2026-113719

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-113719

请登录查看更多情报信息。

Other References for CVE-2026-113719 (4)

Same Patch Batch · pypa · 2026-10-20 · 13 CVEs total

CVE-2026-113722 7.8 HIGH virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax
CVE-2026-113725 7.8 HIGH virtualenv bash activate runs commands from an environment name with a backslash before $
CVE-2026-113718 7.1 HIGH virtualenv: Xonsh activation literals depend on the script decoding codec
CVE-2026-113723 7.1 HIGH virtualenv: Bash prompt values can change meaning under older compatibility modes
CVE-2026-113716 4.5 MEDIUM virtualenv: Builtin creation follows linked environment directories
CVE-2026-113724 4.5 MEDIUM virtualenv: Deletion recovery can change a symlink target's mode
CVE-2026-113721 4.5 MEDIUM virtualenv: Generated files can follow existing destination links
CVE-2026-113713 4.4 MEDIUM virtualenv: Temporary app-data can leave dangling seed package links
CVE-2026-113720 4.4 MEDIUM virtualenv: Seeded files retain permissions from an older cache
CVE-2026-113714 2.3 LOW virtualenv: Downloaded wheel selection and caching precede verification
CVE-2026-113717 2.3 LOW virtualenv: Pip seeding with download omits wheel digest verification
CVE-2026-113715 2.0 LOW virtualenv: Venv configuration readback can reinterpret path boundaries

IV. Related Vulnerabilities

V. Comments for CVE-2026-113719

No comments yet


Leave a comment