CVE-2024-53899: Virtualenv

High severity, CVSS 7.8. EPSS: 2.8% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Virtualenv, before 20.26.6: fixed in 20.26.6

Affected products

Affected packages

Published 2024-11-24. Last modified 2026-06-17.