Live threats

All CVEs / Virtualenv

CVE-2024-53899Virtualenv

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
Yes
Published
Nov 24, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-77, CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Virtualenv.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI virtualenv < 20.26.6 20.26.6 pip install "virtualenv>=20.26.6"
PyPI virtualenv < 20.26.6 20.26.6 pip install "virtualenv>=20.26.6"

Per OSV / GitHub Advisories (GHSA-rqc4-2hc7-8c8v, PYSEC-2024-187). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
virtualenvvirtualenv< 20.26.6

Official sources

References

Links published by the sources. Open them with care.