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
This high-severity CVE scores 7.8 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 55% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- —
- EPSS
- 72.8%
- KEV
- Not listed
Published
November 24, 2024
Last Modified
February 10, 2025
References (3)
Vendor Advisories for CVE-2024-53899(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(9)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | virtualenv (20.13.0+ds-2ubuntu0.1~esm1) @ jammy | 2026-05-23 | ubuntu |
| ubuntu | virtualenv (20.25.0+ds-2ubuntu0.1~esm1) @ noble | 2026-05-23 | ubuntu |
| redhat | devspaces/udi-rhel9:3.18-1 | 2025-02-03 | redhat |
| redhat | python36:3.6-8040020241213073301.9bf6f064 | 2025-01-01 | redhat |
| redhat | python36:3.6-8060020241213062726.448f2761 | 2024-12-16 | redhat |
| redhat | python36:3.6-8080020241205132428.075014fc | 2024-12-16 | redhat |
| redhat | python-virtualenv-0:15.1.0-7.el7_9.1 | 2024-12-16 | redhat |
| redhat | python36:3.6-8020020241213084804.606b8f18 | 2024-12-16 | redhat |
| redhat | python36:3.6-8100020241203074044.4c5117ad | 2024-12-11 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| virtualenv | 0.8 ... 20.9.0 (222 versions) | 20.26.6 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2024-538992024-12-20
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.
- Red HatRHSA-2024:10953IMPORTANT2024-11-24
RHSA-2024:10953 — Important
- Red HatRHSA-2024:11048IMPORTANT2024-11-24
RHSA-2024:11048 — Important
- Red HatRHSA-2024:11091IMPORTANT2024-11-24
RHSA-2024:11091 — Important
- Red HatRHSA-2024:11093IMPORTANT2024-11-24
RHSA-2024:11093 — Important
- Red HatRHSA-2024:11094IMPORTANT2024-11-24
RHSA-2024:11094 — Important
- Red HatRHSA-2025:0002IMPORTANT2024-11-24
RHSA-2025:0002 — Important
- UbuntuUSN-7271-1MEDIUM
virtualenv vulnerability
- UbuntuUSN-7271-2MEDIUM
virtualenv vulnerability
Data Freshness Timeline
(refreshed 9× in last 7d / 43× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-19 02:28 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-15 01:59 UTCEPSS rescore
- 2026-07-13 22:29 UTCEPSS rescore
- 2026-07-13 18:07 UTCOSV refresh
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:14 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
Show 74 moreShow fewer
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 15:16 UTCOSV refresh
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 05:58 UTCOSV refresh
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-23 17:25 UTCEG score recompute
- 2026-05-23 17:25 UTCVendor advisory
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat · msrc
- CVE-2001-0414NVD 0.0EG 9.0EPSS 100%NONE
- CVE-1999-0236EG 7.5EPSS 98%HIGH
- CVE-2001-0550NVD 0.0EG 7.3EPSS 99%NONE
- CVE-1999-0612NVD 0.0EG 6.1EPSS 99%NONE
- CVE-2001-0731NVD 0.0EG 4.4EPSS 99%NONE
- CVE-1999-0524EG 4.1EPSS 98%MEDIUM
- CVE-2001-0554NVD 0.0EG 1.3EPSS 98%NONE
- CVE-1999-1412NVD 0.0EG 0.9EPSS 98%NONE
- CVE-2001-0010NVD 0.0EG 0.3EPSS 98%NONE
- CVE-2001-0887EG 0.0NONE
Same CWE
10 shownCWE-78 · CWE-77
- CVE-2009-20011EG 10.0CRITICAL
- CVE-2011-10017EG 10.0CRITICAL
- CVE-2011-10026EG 9.8CRITICAL
- CVE-2011-2195EG 9.8CRITICAL
- CVE-2011-2523EG 9.8EPSS 100%CRITICAL
- CVE-2010-5330EG 9.8 KEVEPSS 98%CRITICAL
- CVE-2009-5156EG 9.8EPSS 95%CRITICAL
- CVE-2007-3010EG 9.8 KEVEPSS 100%CRITICAL
- CVE-2005-2773EG 9.8 KEVEPSS 99%CRITICAL
- CVE-1999-0043EG 9.8EPSS 99%CRITICAL
Frequently asked(5)
What is CVE-2024-53899?
When was CVE-2024-53899 disclosed?
Is CVE-2024-53899 actively exploited?
What is the CVSS score of CVE-2024-53899?
How do I remediate CVE-2024-53899?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-53899
Is Your Infrastructure Affected by CVE-2024-53899?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.