CVE-2024-9287

MEDIUM
MEDIUM Priority: 0.03 BB Relevance: 21/100
Published: 2024-10-22 Modified: 2026-10-30 First seen: 2026-10-30 Status: active

Attack Surface

Low Complexity Conf. Impact Integ. Impact

CVSS Vector Breakdown

AV: Local
AC: Low
PR: High
UI: Active
S: X
AT: Present
VC: High
VI: High
VA: None

Description

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.

Affected Software (8)

VendorProductVersion
Python Software Foundation CPython 0 < 3.9.21
Python Software Foundation CPython 3.10.0 < 3.10.16
Python Software Foundation CPython 3.11.0 < 3.11.11
Python Software Foundation CPython 3.12.0 < 3.12.8
Python Software Foundation CPython 3.13.0 < 3.13.1
Python Software Foundation CPython 3.14.0a1 < 3.14.0a2
python python < 3.9.21
python python 3.14.0

Bug Bounty Relevance

21 / 100
✓ Low complexity

CVSS Score

5.3 / 10.0 v4.0
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green

EPSS — Exploitation Probability

0.65%
Raw Score 0.006480
Percentile 51.0%
Date 2026-11-02

EPSS Trend

2026-11-02
0.00648
2026-11-01
0.00648
2026-10-31
0.00648
2026-10-30
0.00648
2026-10-29
0.00648

Intelligence Sources

mitre ref →
nvd ref →