SecurityContext

CVE-2026-113714: virtualenv - Cache Poisoning

  • Cve: CVE-2026-113714
  • Name: virtualenv - Cache Poisoning
  • 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.
  • Impact: Attackers can poison the wheel cache causing use of unverified or malicious packages, potentially leading to code execution or integrity compromise.
  • Remediation: Update to version 21.14.9 or later.
  • Vulnerability impact: remote_code_execution, data_tampering
  • Requirements: Attacker needs control over package index and knowledge of absolute wheel path
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00206
  • Epss percentile: 0.10444
  • Assignee: [email protected]
  • Published at: 2026-10-20T19:17:34Z
  • Age in days: 35
  • Modified at: 2026-11-17T20:27:31Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-113714
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: vulnerability type, requirement type, hackerone

Cwe

IdName
CWE-354Improper Validation of Integrity Check Value

Public exploits

UrlSourceAdded date
https://github.com/pypa/virtualenv/security/advisories/GHSA-494p-63j8-28p3nvd2026-10-20

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/pypa/virtualenv/commit/7babec66e043e1cc8bc66869a063653898719d96Patch
https://github.com/pypa/virtualenv/pull/3430Issue Tracking, Patch
https://github.com/pypa/virtualenv/security/advisories/GHSA-494p-63j8-28p3Exploit, Mitigation, Patch, Vendor Advisory
https://github.com/pypa/virtualenv/releases/tag/21.14.9Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
virtualenv:virtualenv>= 21.7.12, < 21.14.9nonvd/v1/products/virtualenv/virtualenv

Projects

RepositoryLink kindsIndexedUrl
pypa/virtualenvcommit, fix, package, pull, releases, security_advisoryyes/v1/repositories/pypa/virtualenv

Index

  • Repositories: 632
  • Repositories high signal: 414
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-10-20
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts