A vulnerability has been found in the CPython venv module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment "activation" scripts (ie "source venv/bin/activate"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie "./venv/bin/python") are not affected.
CVE-2024-9287
Score 7.8 from GitHub Security Advisory published 2024-10-22. NVD baseline CVSS 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 47.2%
- KEV
- Not listed
Published
October 22, 2024
Last Modified
November 3, 2025
References (12)
- cna@pythonhttps://github.com/python/cpython/commit/633555735a023d3e4d92ba31da35b1205f9ecbd7
- cna@pythonhttps://github.com/python/cpython/commit/8450b2482586857d689b6658f08de9c8179af7db
- cna@pythonhttps://github.com/python/cpython/commit/9286ab3a107ea41bd3f3c3682ce2512692bdded8
- cna@pythonhttps://github.com/python/cpython/commit/ae961ae94bf19c8f8c7fbea3d1c25cc55ce8ae97
- cna@pythonhttps://github.com/python/cpython/commit/d48cc82ed25e26b02eb97c6263d95dcaa1e9111b
- cna@pythonhttps://github.com/python/cpython/commit/e52095a0c1005a87eed2276af7a1f2f66e2b6483
- cna@pythonhttps://github.com/python/cpython/issues/124651
- cna@pythonhttps://github.com/python/cpython/pull/124712
- cna@pythonhttps://mail.python.org/archives/list/security-announce@python.org/thread/RSPJ2B5JL22FG3TKUJ7D7DQ4N5JRRBZL/
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/11/msg00024.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20250425-0006/
Vendor Advisories for CVE-2024-9287(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(13)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3.10-venv (3.10.12-1~22.04.7) @ jammy | 2026-05-23 | ubuntu |
| ubuntu | python3.11-venv (3.11.0~rc1-1~22.04.1~esm2) @ jammy | 2026-05-23 | ubuntu |
| ubuntu | python3.5-venv (3.5.2-2ubuntu0~16.04.4~14.04.1+esm4) @ trusty | 2026-05-23 | ubuntu |
| redhat | python39-devel:3.9-8100020251126112422.d47b87a4 | 2025-12-18 | redhat |
| redhat | python3.11-0:3.11.7-1.el9_4.7 | 2025-01-13 | redhat |
| redhat | python3.11-0:3.11.9-7.el9_5.2 | 2024-12-16 | redhat |
| redhat | python3.12-0:3.12.1-4.el9_4.5 | 2024-12-13 | redhat |
| redhat | python3.9-0:3.9.21-1.el9_5 | 2024-12-12 | redhat |
| redhat | python3.11-0:3.11.11-1.el8_10 | 2024-12-12 | redhat |
| redhat | python3.12-0:3.12.8-1.el8_10 | 2024-12-12 | redhat |
| redhat | python3.12-0:3.12.5-2.el9_5.2 | 2024-12-12 | redhat |
| redhat | python3.9-0:3.9.18-3.el9_4.7 | 2024-12-12 | redhat |
| redhat | python3-0:3.6.8-69.el8_10 | 2024-12-04 | 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.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(12)
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-92872025-03-08
Virtual environment (venv) activation scripts don't quote paths
- Red HatRHSA-2024:10779MODERATE2024-10-22
RHSA-2024:10779 — Moderate
- Red HatRHSA-2024:10978MODERATE2024-10-22
RHSA-2024:10978 — Moderate
- Red HatRHSA-2024:10979MODERATE2024-10-22
RHSA-2024:10979 — Moderate
- Red HatRHSA-2024:10980MODERATE2024-10-22
RHSA-2024:10980 — Moderate
- Red HatRHSA-2024:11024MODERATE2024-10-22
RHSA-2024:11024 — Moderate
- Red HatRHSA-2024:11035MODERATE2024-10-22
RHSA-2024:11035 — Moderate
- Red HatRHSA-2024:11111MODERATE2024-10-22
RHSA-2024:11111 — Moderate
- Red HatRHSA-2025:0280MODERATE2024-10-22
RHSA-2025:0280 — Moderate
- UbuntuUSN-7116-1MEDIUM
Python vulnerability
- UbuntuUSN-7348-1MEDIUM
Python vulnerabilities
- UbuntuUSN-7488-1MEDIUM
Python vulnerabilities
Data Freshness Timeline
(refreshed 12× in last 7d / 47× 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.
Showing the most recent 100 of 106 total refreshes for this CVE.
- 2026-07-23 02:47 UTCEG score recompute
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:24 UTCEPSS rescore
- 2026-07-20 17:07 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-18 10:03 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-16 17:02 UTCEPSS rescore
- 2026-07-15 16:57 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 22:29 UTCEPSS rescore
- 2026-07-13 22:25 UTCOSV refresh
- 2026-07-13 06:12 UTCEPSS rescore
- 2026-07-12 05:45 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
Show 75 moreShow fewer
- 2026-07-08 15:14 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
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-02 17:00 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-28 14:07 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-25 19:46 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-23 21:32 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-21 01:59 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-15 17:48 UTCEPSS rescore
- 2026-06-14 23:17 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-10 22:18 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 13:21 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 09:28 UTCOSV refresh
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:47 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:10 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-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-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownmsrc · redhat
Same CWE
10 shownCWE-77
- CVE-2016-15057EG 9.9CRITICAL
- CVE-2014-5470EG 9.8EPSS 95%CRITICAL
- CVE-2013-2513EG 9.8CRITICAL
- CVE-2015-20108EG 9.8CRITICAL
- CVE-2015-10096NVD 5.0EG 9.8MEDIUM
- CVE-2016-20017EG 9.8 KEVEPSS 99%CRITICAL
- CVE-2016-4991EG 9.8CRITICAL
- CVE-2015-20107NVD 7.6EG 9.8EPSS 94%HIGH
- CVE-2014-4982EG 9.8EPSS 91%CRITICAL
- CVE-2016-10760EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2024-9287?
When was CVE-2024-9287 disclosed?
Is CVE-2024-9287 actively exploited?
What is the CVSS score of CVE-2024-9287?
How do I remediate CVE-2024-9287?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2024-9287
Is Your Infrastructure Affected by CVE-2024-9287?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.