CWE-428
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 29 Oct 2026, 23:44 UTC
Thin evidence
One scorer or none| CNA (PSF) | CVSS 4.0 | 5.3 |
|---|
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/U:GreenExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
Until a fix is available, avoid activating virtual environments created by untrusted sources. Use direct invocation of the Python interpreter within the virtual environment (e.g., './venv/bin/python') instead of activating the environment via the activation script.
Description
A vulnerability in the CPython venv module and CLI allows command injection via improperly quoted path names when creating virtual environments. This enables attacker-controlled virtual environments to execute arbitrary commands upon activation using the 'source venv/bin/activate' script. Virtual environments not created by an attacker or those used without activation (e.g., directly invoking the Python binary) are not affected.
References
- nvd.nist.gov/vuln/detail/CVE-2024-9287 (opens in a new tab)
- github.com/python/cpython/issues/124651 (opens in a new tab)
- github.com/python/cpython/pull/124712 (opens in a new tab)
- github.com/python/cpython/commit/633555735a023d3e4d92ba31da35b1205f9ecbd7 (opens in a new tab)
- github.com/python/cpython/commit/8450b2482586857d689b6658f08de9c8179af7db (opens in a new tab)
- github.com/python/cpython/commit/9286ab3a107ea41bd3f3c3682ce2512692bdded8 (opens in a new tab)
- github.com/python/cpython/commit/ae961ae94bf19c8f8c7fbea3d1c25cc55ce8ae97 (opens in a new tab)
- github.com/python/cpython/commit/d48cc82ed25e26b02eb97c6263d95dcaa1e9111b (opens in a new tab)
- github.com/python/cpython/commit/e52095a0c1005a87eed2276af7a1f2f66e2b6483 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/11/msg00024.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/12/msg00000.html (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/RSPJ2B5JL22FG3TKUJ7D7DQ4N5JRRBZL (opens in a new tab)
- security.netapp.com/advisory/ntap-20250425-0006 (opens in a new tab)