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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-113714— virtualenv: Downloaded wheel selection and caching precede verification

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.8 到 21.14.9 版本期间, 函数在从 pip 的文本化“已保存输出”(Saved output)中选择验证目标之前,会将包索引下载的内容直接写入可重用的 wheel/house 缓存。当启用了默认索引的摘要(digest)比对时,受控的包索引可以通过被丢弃链接的 属性注入一条误导性的"Saved"行;这种伪造行变体还需要攻击者知晓真实捆绑 wheel 的绝对路径。随后,系统会对错误的路径进行哈希计算,而摘要不匹配会导致

CVSS 2.3 · Low

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-113714

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: Downloaded wheel selection and caching precede verification
Source: CVE Program / CVE List V5
Vulnerability Description
virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, download_wheel() writes package-index downloads directly into the reusable wheel/house cache before selecting a verification target from pip's textual Saved output. With default-index digest comparison enabled, a controlled package index can inject a misleading Saved line through a discarded link's data-requires-python attribute; this forged-line variant also requires knowledge of an absolute path to the genuine bundled wheel. The wrong path can then be hashed, while a digest mismatch leaves the rejected archive in the cache for later selection without verification. A separate rejected-cache-file variant requires control over downloaded data or archive selection but not the forged-line prerequisites. Explicit custom-index exceptions are outside the promised PyPI comparison, and the issue does not independently bypass TLS or establish control of default PyPI. This issue is fixed in version 21.14.9.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
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-113714

# 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-113714

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

Patches & Fixes for CVE-2026-113714 (1)

Vendor Advisories for CVE-2026-113714 (1)

Vendor Pages for CVE-2026-113714 (1)

Same Patch Batch · pypa · 2026-10-20 · 16 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-113726 7.8 HIGH virtualenv activate runs commands from the environment name in zsh with PROMPT_SUBST
CVE-2026-113776 7.8 HIGH virtualenv activation scripts run code from a path that contains a placeholder name
CVE-2026-113732 7.8 HIGH virtualenv activate.fish runs commands from a path or prompt with a backslash before a quo
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-113719 4.5 MEDIUM virtualenv: Seed replacement does not contain metadata deletion paths
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-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-113714

No comments yet


Leave a comment