{"cve":"CVE-2026-113722","nvd":{"published":"2026-10-20T20:17:18.810","modified":"2026-10-23T02:16:57.087","status":"Awaiting Analysis","description":"virtualenv is a tool for creating isolated virtual python environments. Prior to 21.14.9, virtualenv's ScriptMakerCustom and pip pass an incompletely quoted interpreter path to distlib ScriptMaker when generating POSIX console scripts. When the path contains a space or produces a shebang longer than 127 bytes, distlib emits a /bin/sh wrapper whose double-quoted interpreter path still expands command substitutions and backticks. An attacker who influences the environment destination can therefore execute commands with the user's privileges when the user later runs a generated launcher; environment creation and activation do not trigger the command. Existing launchers are not repaired by upgrading virtualenv alone and must be regenerated, while a later independent pip installation or upgrade can reintroduce an affected launcher because pip's vendored distlib is unchanged. The virtualenv fix is released in version 21.14.9.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-78"],"references":["https://github.com/pypa/virtualenv/commit/2519941bed33ee0d3ac99277f67913e439e476a9","https://github.com/pypa/virtualenv/pull/3417","https://github.com/pypa/virtualenv/releases/tag/21.14.9","https://github.com/pypa/virtualenv/security/advisories/GHSA-c978-59m8-c77v","https://github.com/pypa/virtualenv/security/advisories/GHSA-c978-59m8-c77v"],"products":[],"source":"nvd","synced_at":"2026-10-23T16:39:26.291718493+00:00"},"epss":{"cve":"CVE-2026-113722","score":0.00285,"percentile":0.20855,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-c978-59m8-c77v","url":"https://osv.dev/vulnerability/GHSA-c978-59m8-c77v","summary":"virtualenv: Generated POSIX console launchers interpret destination paths as shell syntax","modified":"2026-10-21T21:45:08.347797238Z","packages":[{"ecosystem":"PyPI","name":"virtualenv","purl":"pkg:pypi/virtualenv","ranges":["<21.14.9"],"fixed":["21.14.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}