Skip to main content
VulnerabilityPublished Updated

CVE-2026-113718: pypa virtualenv · Code Injection

Affects pypa virtualenvSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.1 High : upgrade to 21.14.9 soon.

Data as of 4 Dec 2026, 18:36 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.07.1
EPSS
0.2% chance of exploitation in 30 days – higher than 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 21.14.9
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade pypa virtualenv to 21.14.9.

Affected software

ProductAffectedFixed in
pypavirtualenvAffected
  • <21.14.9
Fixed in
  • 21.14.9
PyPIvirtualenvpkg:pypi/virtualenvOther threatsAffected
  • <21.14.9
Fixed in
  • 21.14.9

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade pypa virtualenv to version 21.14.9 or later, where this code injection vulnerability is fixed. No other mitigations are indicated by the vendor advisory.

Description

CVE-2026-113718 is a code injection vulnerability in pypa virtualenv versions prior to 21.14.9. The issue arises from how the POSIX xonsh activation script writes non-ASCII prompt or destination data using repr(), which under certain legacy multibyte encodings like GBK or Big5 can allow an attacker to inject and execute arbitrary code when the generated script is sourced. This vulnerability is fixed in version 21.14.9.

References

Community reviews

Loading reviews…