CVE-2024-9287

Severity: Moderate
Published: 2024-10-22

Fix Status by Distribution

Fixed in 18 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-27 15:00 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
AlmaLinux 10
Oracle Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Rocky Linux 10
SUSE Linux Enterprise Server 16
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.04 LTS (Resolute Raccoon)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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.

Exploit evidence

No public exploit evidence reported by NVD

Last checked: 2026-10-30 11:32 UTC

  • No exploitation evidence · CISA Coordinator (Assessed 2025-07-23 03:55 UTC)

NVD evidence for CVE-2024-9287 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.