{
  "id": "CVE-2026-113725",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-113725",
  "published_at": "2026-10-20T19:56:52.195Z",
  "title": "virtualenv bash activate runs commands from an environment name with a backslash before $",
  "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.7, the bash activate script escapes the environment name for only one of the two passes bash makes over PS1, so a backslash in the name undoes the escaping and a name containing \\$(...) runs as commands in the user's shell each time bash draws the prompt. This issue is fixed in version 21.14.7.",
  "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.7"
        ],
        "fixed_in": [
          "21.14.7"
        ]
      }
    ],
    "upgrade": [
      "Upgrade virtualenv to 21.14.7 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/pypa/virtualenv/security/advisories/GHSA-vxj4-q4g9-crj7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pypa/virtualenv/commit/c3104e02474b652832a9bbaae79f6e1696296932"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/pypa/virtualenv/releases/tag/21.14.7"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
