Why pip 26.2.0 matters when an index returns doubly encoded URLs
pip parses package indexes as structured data, but a URL can be encoded more than once before it reaches the installer. CVE-2026-13346 covers a handling error in pip versions before 26.2.0. A malicious package index could use doubly encoded package URLs to make pip install files at arbitrary locations on disk, including when it installs a wheel.
The scope is important. Malicious packages alone are not enough, and the public advisory does not describe an attack that works without an index the client already trusts. The issue requires downloading or installing from a malicious index. The most material case is pip download with --only-binary , according to the advisory. Installing a source distribution from an untrusted index is already unsafe because build-time code can run.
That does not make the bug irrelevant.…