{"cve":"CVE-2024-53899","nvd":{"published":"2024-11-24T16:15:06.647","modified":"2026-06-17T08:09:28.230","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-77","CWE-78"],"references":["https://github.com/pypa/virtualenv/issues/2768","https://github.com/pypa/virtualenv/pull/2771","https://github.com/pypa/virtualenv/releases/tag/20.26.6"],"products":["virtualenv:virtualenv"],"source":"nvd","synced_at":"2026-10-19T21:57:34.731061660+00:00"},"epss":{"cve":"CVE-2024-53899","score":0.01572,"percentile":0.75405,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-rqc4-2hc7-8c8v","url":"https://osv.dev/vulnerability/GHSA-rqc4-2hc7-8c8v","summary":"virtualenv allows command injection through activation scripts for a virtual environment","modified":"2026-09-10T03:50:56.097648777Z","packages":[{"ecosystem":"PyPI","name":"virtualenv","purl":"pkg:pypi/virtualenv","ranges":["<20.26.6"],"fixed":["20.26.6"]}]},{"id":"PYSEC-2024-187","url":"https://osv.dev/vulnerability/PYSEC-2024-187","summary":"","modified":"2026-06-10T17:02:47.269303411Z","packages":[{"ecosystem":"PyPI","name":"virtualenv","purl":"pkg:pypi/virtualenv","ranges":["<20.26.6"],"fixed":["20.26.6"]}]}],"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."]}