CVE-2026-113726 virtualenv - Stored XSS

virtualenv < 21.14.4 contains a stored XSS caused by improper escaping of environment names in the bash activate script sourced by zsh, letting attackers execute commands in the user's shell via crafted prompt values, exploit requires zsh with PROMPT_SUBST enabled.

CVSS base score 7.8 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
View the NVD record ↗

Details

Type
Stored XSS
Impact
Client Script Exec
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
20 October 2026
Updated
21 October 2026
Weakness
CWE-78

Vendor fix

Update to version 21.14.4 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs