{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-113725","id":"CVE-2026-113725","title":"virtualenv shell command execution in bash activation prompts","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.","descriptionLong":"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.","published":"2026-10-20T19:56:52.195Z","updated":"2026-11-18T21:00:47.211337304Z","reserved":"2026-10-20T16:03:14.863Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["pypa virtualenv"],"affectedProducts":[{"vendor":"pypa","product":"virtualenv","defaultStatus":null,"versions":[{"version":"< 21.14.7","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"virtualenv","purl":"pkg:pypi/virtualenv","ranges":["<21.14.7"],"fixed":["21.14.7"],"advisory":"GHSA-vxj4-q4g9-crj7"}],"cwes":["CWE-78","CWE-116"],"aliases":["BIT-virtualenv-2026-113725","GHSA-vxj4-q4g9-crj7","PYSEC-2026-4384"],"references":[{"url":"https://github.com/pypa/virtualenv/security/advisories/GHSA-vxj4-q4g9-crj7","tags":["x_refsource_CONFIRM","advisory","web","fix"]},{"url":"https://github.com/pypa/virtualenv/commit/c3104e02474b652832a9bbaae79f6e1696296932","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/pypa/virtualenv/releases/tag/21.14.7","tags":["x_refsource_MISC","web","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113725.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113725","tags":["advisory"]},{"url":"https://github.com/pypa/virtualenv","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00277,"epssPercentile":0.20615,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-113725","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113725","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-113725","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vxj4-q4g9-crj7","ok":true,"note":"GHSA-vxj4-q4g9-crj7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-113725","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}