ADVISORIES

Vulnerability

CVE-2024-53899

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.

31 advisories report this vulnerability, across 14 ecosystems.

Advisories in PyPI

  • GHSA-rqc4-2hc7-8c8v

    virtualenv allows command injection through activation scripts for a virtual environment

    High CVE-2024-53899 PyPI Updated 10 September 2026
  • PYSEC-2024-187

    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.

    CVE-2024-53899 PyPI Updated 10 June 2026

References