7.8

CVE-2026-113722: virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax

Analyzed
AliasesGHSA-c978-59m8-c77vCGA-2w6x-qq8x-j48xCGA-x7p2-39r7-g9x6
Published 20-10-2026Last modified 23-10-2026

Vulnerability summary

CVE-2026-113722 is a high (CVSS 7.8) vulnerability in pypa virtualenv. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · -0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 20-10-2026
    PublishedVulnerability first disclosed.
  2. 23-10-2026
    Last modifiedVulnerability information updated.

Description

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. When the path contains a space or produces a shebang longer than 127 bytes, distlib emits a /bin/sh wrapper whose double-quoted interpreter path still expands command substitutions and backticks. An attacker who influences the environment destination can therefore execute commands with the user's privileges when the user later runs a generated launcher; environment creation and activation do not trigger the command. Existing launchers are not repaired by upgrading virtualenv alone and must be regenerated, while a later independent pip installation or upgrade can reintroduce an affected launcher because pip's vendored distlib is unchanged. The virtualenv fix is released in version 21.14.9.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

Decrease -0.02 pp

From 0.29% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Virtualenv

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard10 products
  • nemo-rl-cuda-13.0All versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-automodelAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-mcoreAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-sglangAll versions (No fix recorded) | < 0.7.0-r15
  • nemo-rl-cuda-13.0-vllmAll versions (No fix recorded) | < 0.7.0-r15
Debian1 product
  • python-virtualenvAll versions (No fix recorded) | < 21.15.6+ds-1
Pypa1 product
PyPI1 product
  • virtualenv< 21.14.9 | ≥ 20.0.0, < 21.14.9
Ubuntu1 product
  • python-virtualenvAll versions (No fix recorded)
Virtualenv1 product
Wolfi1 product
  • py3-cassandra-medusaAll versions (No fix recorded) | < 0.31.0-r1

7 vendors · 16 products

References

10 links