{
  "id": "CVE-2026-113732",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-113732",
  "published_at": "2026-10-20T22:01:23.931Z",
  "title": "virtualenv activate.fish runs commands from a path or prompt with a backslash before a quote",
  "vendor": "pypa",
  "product": "virtualenv",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-78",
  "cpes": [
    "cpe:2.3:a:virtualenv:virtualenv:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "pypa",
        "product": "virtualenv",
        "ranges": [
          "\u003c 21.14.2"
        ],
        "fixed_in": [
          "21.14.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade virtualenv to 21.14.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pypa/virtualenv/security/advisories/GHSA-c947-3pg5-gm8q"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pypa/virtualenv/commit/3bddeaf8d02c3ee7f576503efb082f8f494cfcab"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/pypa/virtualenv/releases/tag/21.14.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
