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.
Conclusion & alert: CVE-2024-9287 is rated Low Risk (37.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.65%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.06% | 0.65% | +0.58% |
| 2 | 2026-01-18 | 0.05% | 0.06% | +0.01% |
| 3 | 2025-11-24 | — | 0.05% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2024-9287: 1 source package rows (python3); 6 state rows across 6 repos (3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 6, open 0. | https://security.alpinelinux.org/vuln/CVE-2024-9287 |
debian
|
unimportant | CVE-2024-9287 unimportant priority: Debian including 5 source packages (pypy3, python2.7, python3.11, python3.13, python3.9), 11 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 11. | https://security-tracker.debian.org/tracker/CVE-2024-9287 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2024-9287 |
suse
|
medium | CVE-2024-9287 severity moderate: SUSE including 669 source package names (0.0.17-1.1:libpython3_11-1_0-3.11.10-150600.3.9.2, 0.0.17-1.1:libpython3_6m1_0-3.6.15-150300.10.75.1, …), 2391 product×package rows across 393 product lines (Container bci/bci-sle15-kernel-module-devel, Container bci/kiwi, … (393 product lines)): Fixed 2089, Known Affected 221, Known Not Affected 81. | https://www.suse.com/security/cve/CVE-2024-9287/ |
ubuntu
|
medium | CVE-2024-9287 medium priority: Ubuntu including 11 source packages (python2.7, python3.10, …), 86 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 61, released 18, not-affected 7. | https://ubuntu.com/security/CVE-2024-9287 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| python | python | < 3.9.21 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.10.0, < 3.10.16 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.11.0, < 3.11.11 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.12.0, < 3.12.8 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | >= 3.13.0, < 3.13.1 | cpe:2.3:a:python:python:*:*:*:*:*:*:*:* |
| python | python | 3.14.0 | cpe:2.3:a:python:python:3.14.0:alpha1:*:*:*:*:*:* |