Skip to main content
VulnerabilityPublished Updated

CVE-2024-6345: Python@3.11 · setuptools vulnerable to Command Injection via package URL

Affects python@3.11Source GCVE Database

0
Authoritative record:CVE-2024-6345· High 8.8

Not known to be exploited · CVSS 8.8 High : upgrade to 3.11.9_1 soon.

Data as of 26 Oct 2026, 19:42 UTC

CVSS 3.0 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.11.9_1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 26 Oct 2026.

What to do

Upgrade python@3.11 to 3.11.9_1.

Affected software

ProductAffectedFixed in
Homebrewpython@3.11pkg:brew/python%403.11Other threatsAffected
  • >=3.11.0 <3.11.9_1
Fixed in
  • 3.11.9_1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in setuptools version 3.11.9_1. Users should upgrade to this version or later to remediate the vulnerability. No additional mitigation is indicated by the vendor advisory.

Description

A command injection vulnerability exists in the package_index module of pypa/setuptools versions up to 69.1.1, affecting Python 3.11 packages before 3.11.9_1. This flaw allows remote code execution via download functions that handle package URLs, which if user-controlled, can lead to arbitrary command execution. The issue is fixed in version 3.11.9_1.

References

Community reviews

Loading reviews…