Red Hat VEX
RHVEX-CVE-2026-13346
pip: pip: Arbitrary file installation via malicious package indexes
Details
A flaw was found in pip. When processing doubly-encoded package URLs from malicious package indexes, pip incorrectly handles the file paths. A remote attacker could exploit this by convincing a user to download or install a package from such an index. This could allow for files to be installed to arbitrary locations on the system, potentially leading to system compromise. This vulnerability primarily affects users utilizing the pip download command with the --only-binary option.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | python3-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:10 | python3-pip-wheel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:7 | python-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:7 | python3-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | platform-python-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:8 | python3-pip-wheel | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | python-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | python3-pip | All versions, no fix (fix deferred) |
| Red Hat:enterprise_linux:9 | python3-pip-wheel | All versions, no fix (fix deferred) |
References
- https://access.redhat.com/security/cve/CVE-2026-13346
- https://bugzilla.redhat.com/show_bug.cgi?id=2508514
- https://www.cve.org/CVERecord?id=CVE-2026-13346
- https://nvd.nist.gov/vuln/detail/CVE-2026-13346
- https://github.com/pypa/pip/pull/14110
- https://mail.python.org/archives/list/[email protected]/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/