Skip to main content
CVE-2026-113718VulnerabilityPublished Updated

Virtualenv: Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or

Affects virtualenvSource GCVE Database

0
Compare
Authoritative record:CVE-2026-113718· High 7.1

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

Data as of 18 Nov 2026, 13:08 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
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 17 Nov 2026.

What to do

Upgrade virtualenv to 21.14.9.

Affected software

ProductAffectedFixed in
PyPIvirtualenvpkg:pypi/virtualenvOther threatsAffected
  • 21.3.0 – 21.14.8
  • >=21.3.0 <21.14.9
48 affected builds
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 virtualenv to version 21.14.9 or later, where this issue is fixed. The vendor has released an official patch addressing this vulnerability.

Description

Virtualenv versions prior to 21.14.9 contain a vulnerability in the POSIX xonsh activation script generation. The quote() function uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh scripts. Under legacy multibyte encodings like GBK or Big5, this can cause a UTF-8 trail byte to consume a backslash before an adjacent quote, allowing the literal to close prematurely and enabling execution of attacker-influenced statements when the script is sourced. This issue is fixed in version 21.14.9.

References

Community reviews

Loading reviews…