cveboard RSS feed

CVE-2024-9287

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2024
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

Virtual environment (venv) activation scripts don't quote paths

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

CPython

Vendor
Python Software Foundation
Product
CPython
Platforms
Unknown
Default status
unaffected
CPython · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0affectedpython3.9.21UnavailableNone listed
3.10.0affectedpython3.10.16UnavailableNone listed
3.11.0affectedpython3.11.11UnavailableNone listed
3.12.0affectedpython3.12.8UnavailableNone listed
3.13.0affectedpython3.13.1UnavailableNone listed
3.14.0a1affectedpython3.14.0a2UnavailableNone listed