Virtualenv: Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or
Affects virtualenvSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 21.14.9 soon.
Data as of 18 Nov 2026, 13:08 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 7.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:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIvirtualenvpkg:pypi/virtualenvOther threats | Affected
| Fixed in
|
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
- github.com/pypa/virtualenv/releases/tag/21.14.9 (opens in a new tab)
- github.com/pypa/virtualenv/commit/e5fc2e6e189a877ff559af288919e3525d13e5e0 (opens in a new tab)
- github.com/pypa/virtualenv/pull/3432 (opens in a new tab)
- github.com/pypa/virtualenv/security/advisories/GHSA-394h-qwmc-48pf (opens in a new tab)