Security mailing lists by PureSourceCode

CVE-2026-113718

HIGH 7.1CVSS 4.0

virtualenv: Xonsh activation literals depend on the script decoding codec

virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, POSIX xonsh activation quote() uses repr() to write printable non-ASCII prompt or destination data into UTF-8 activate.xsh, while xonsh can read that script using $XONSH_ENCODING. Under a legacy multibyte codec such as GBK or Big5, a UTF-8 trail byte can consume the backslash before an adjacent quote, allowing the literal to close and attacker-influenced statements to execute when the user sources the generated script. This issue is fixed in version 21.14.9.

Published
20 Oct 2026
Last modified
18 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-94
Also known as
BIT-virtualenv-2026-113718GHSA-394h-qwmc-48pfPYSEC-2026-4377
Sources
NVDJSONOSV GHSA-394h-qwmc-48pfJSONOSV PYSEC-2026-4377JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 7.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD virtualenv virtualenv
cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*
>= 21.3.0, < 21.14.9 21.14.9
OSV PyPI virtualenv < 21.14.9 21.14.9
OSV PyPI virtualenv >= 21.3.0, < 21.14.9 21.14.9

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 20 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.