virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.2, FishActivator inherits ViaTemplateActivator.quote(), which uses POSIX shlex.quote() even though fish interprets backslashes and single quotes differently. An attacker-influenced environment path, --prompt, or VIRTUALENV_PROMPT value containing a backslash before a quote can therefore terminate the generated fish literal and execute command substitution when the user sources activate.fish. This issue is fixed in version 21.14.2.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-116",
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113732.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "21.14.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "3bddeaf8d02c3ee7f576503efb082f8f494cfcab"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "21.14.2",
"range": [
{
"fixed": "a6bdda0220f664c04042f063bd7344f800934559"
}
],
"source": "REFERENCES_TAG"
}
]
}