Answer in brief
CVE-2024-9287 records a Medium severity (CVSS 5.3) vulnerability in Virtual environment (venv) activation scripts don't quote paths. The current sources do not mark it as known exploited. The current feed maps Python Software Foundation/CPython (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 5.3. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps Python Software Foundation/CPython (generic). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | Not reported | Not reported |
| cpe:2.3:a:python:python:3.14.0:alpha1:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| Python Software Foundation/CPythongeneric | >=0 <3.9.21 || >=3.10.0 <3.10.16 || >=3.11.0 <3.11.11 || >=3.12.0 <3.12.8 || >=3.13.0 <3.13.1 || >=3.14.0a1 <3.14.0a2 | 3.9.21, 3.10.16, 3.11.11, 3.12.8, 3.13.1, 3.14.0a2 |
Published upstream
Oct 22, 2024
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Oct 30, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Oct 30, 2026
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.
Quoted source text, attributed separately from HOL analysis.