{"id":"CVE-2024-53899","published":"2024-11-24T00:00:00Z","modified":"2024-11-24T18:25:36Z","title":"virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment","vendor":null,"product":null,"tier":"tail","description":{"text":"virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02844,"percentile":0.87394,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/pypa/virtualenv/issues/2768","tags":[]},{"url":"https://github.com/pypa/virtualenv/releases/tag/20.26.6","tags":[]},{"url":"https://github.com/pypa/virtualenv/pull/2771","tags":[]}],"priority":{"score":23.4,"factors":[{"name":"EPSS percentile","points":17.48},{"name":"CVSS severity","points":5.88}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-11-24T18:23:58.008596Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"virtualenv","vulnerableRanges":["<20.26.6"],"patched":["20.26.6"],"from":["GHSA-rqc4-2hc7-8c8v","PYSEC-2024-187"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0172","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2011-4617","published":"2011-12-31","fixed":"1.5","kev":false},{"cve":"CVE-2024-53899","published":"2024-11-24","fixed":"20.26.6","kev":false},{"cve":"CVE-2026-22702","published":"2026-01-10","fixed":"20.36.1","kev":false,"link":{"from":"CVE-2024-53899","to":"CVE-2026-22702","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:virtualenv","fromFixed":"20.26.6","toFixed":"20.36.1","daysApart":412}]}},{"cve":"CVE-2026-102938","published":"2026-09-29","fixed":"21.7.11","kev":false},{"cve":"CVE-2026-102930","published":"2026-09-29","fixed":"21.7.12","kev":false}],"package":"PyPI:virtualenv"}}