CVE-2024-53899

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.

Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
1.572%
chance of exploitation in the next 30 days
higher than 75.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2024-11-24

Timeline

  1. 2024-11-24Published by the CNA00:00 UTC
  2. 2024-11-24GitHub advisory published (GHSA-rqc4-2hc7-8c8v)same day
  3. 2024-11-24CISA SSVC decision recordedsame day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-rqc4-2hc7-8c8v, affected packages:

PackageVulnerable versionsFixed in
PyPI virtualenvbefore 20.26.620.26.6

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
virtualenv virtualenvbefore 20.26.6fixed in 20.26.620.26.6

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources