Skip to content
Heist/ feed
Back to feed
High

virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

Type: advisorySources: Official CVE List

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.

Products
virtualenv
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-113732
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:57 UTC · Revision 2

Source evidence

virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote

core-cve · Original source

Published 20 Oct 2026, 22:01 UTC

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.

cve:CVE-2026-113732

virtualenv

Fixed versions: Not specified

Complete source record
{
  "id": "ec0236416900a18f3746867d4ee558f5daf01e5104216b69dd1a24cbafe8b9df",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-113732",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote",
    "summary": "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.",
    "evidence": "cve:CVE-2026-113732",
    "products": [
      {
        "name": {
          "value": "virtualenv",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-113732",
      "aliases": [
        "CVE-2026-113732"
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 7.8,
            "attackVector": "LOCAL",
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "integrityImpact": "HIGH",
            "userInteraction": "REQUIRED",
            "attackComplexity": "LOW",
            "availabilityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "HIGH"
          }
        }
      ],
      "affected": [
        {
          "vendor": "pypa",
          "product": "virtualenv",
          "versions": [
            {
              "status": "affected",
              "version": "< 21.14.2"
            }
          ]
        }
      ],
      "modified": "2026-10-27T13:26:51.760Z",
      "provider": "cve",
      "references": [
        "https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q",
        "https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab",
        "https://github.com/pypa/virtualenv/releases/tag/21.14.2"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-113732",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-27T13:26:40.567506Z"
                  }
                }
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-27T13:26:51.760Z"
            }
          }
        ],
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-20T22:01:23.931Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-113732",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 392637,
  "published_at": "2026-10-20T22:01:23.931+00:00"
}