{"id":"CVE-2026-113722","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-113722","generatedAt":"2026-10-28T01:53:01.896Z","title":"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.","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.","published":"2026-10-20T20:17:19.000Z","lastModified":"2026-10-23T02:16:57.000Z","status":"Awaiting Analysis","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},"cwe":["CWE-78"],"affected":[],"epss":{"score":0.00285,"percentile":0.2087,"date":"2026-10-26","history":[{"date":"2026-10-21","score":0.00167,"percentile":0.05684}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.29%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-10-20T20:17:19.000Z","detail":{"score":"7.8","severity":"HIGH","publishedAt":"2026-10-20T20:17:18.810Z"},"summary":"New CVE, high severity (CVSS 7.8)."}],"references":[{"url":"https://github.com/pypa/virtualenv/commit/2519941bed33ee0d3ac99277f67913e439e476a9","source":"security-advisories@github.com"},{"url":"https://github.com/pypa/virtualenv/pull/3417","source":"security-advisories@github.com"},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.14.9","source":"security-advisories@github.com"},{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-c978-59m8-c77v","source":"security-advisories@github.com"},{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-c978-59m8-c77v","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-113722","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}