See how python packaging authority compares to other vendors in security performance
This vulnerability allows local attackers to escalate privileges on affected installations of Python Packaging Authority pip. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. User interaction on the part of a target user is also required. The specific flaw exists within the way configuration files are stored. The issue results from incorrect permissions on files. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user.
This vulnerability allows local attackers to escalate privileges on affected installations of Python Packaging Authority pip. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. User interaction on the part of a target user is also required. The specific flaw exists within the way configuration files are stored. The issue results from incorrect permissions on files. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of a target user.
Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in packageindex.py.
Kevin Riggle <kevinr@complexsystems.group>, 2026-10-27 19:52: [...] Try running:
pip download --retries=0 --index-url https://dv-g3b-emudhra.we-have-a-problem.com/ --extra-index-url https://dv-g3b-aaa-emudhra.we-have-a-problem.com/ cowsay
If you get certificate errors for both hosts, you're probably fine.
but—does this actually work? I'm pretty sure the env var trick does not work with pip >= 24.2. No idea what's shipped with macOS.
-- Jakub Wilk