ADVISORIES

PyPA Advisory Database

PYSEC-2024-187

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIvirtualenv
All versions before 20.26.6 (fixed in 20.26.6)

References