---
schema_version: '1.0'
id: security-20260821-751642
title: CVE-2026-13346 — pip
url: https://osv.dev/vulnerability/PYSEC-2026-3721
url_hash: 751642bcf5927fe1e9cea3beae592ea4fe6855911d7449850a09fabf38af2e60
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-3721
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-13346
- PYSEC-2026-3721
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- pip
- PyPI
lang: en
published_at: '2026-07-29T19:16:44Z'
fetched_at: '2026-08-21T15:34:40.226732Z'
updated_at: '2026-09-10T15:44:50Z'
status: published
content_hash: dccd401cf26a969e76725c468de21786e18666fe6d8cdc3d63ec93aa53e381b5
content_changed_at: '2026-09-10T15:44:18.010173Z'
license_note: full
summary: pip would incorrectly handle doubly-encoded package URLs from indexes allowing
  for files to be installed to arbitrary locations on disk even when installing wheels.
summary_source: rss
summary_en: pip would incorrectly handle doubly-encoded package URLs from indexes
  allowing for files to be installed to arbitrary locations on disk even when installing
  wheels.
summary_omitted_reason: null
redistribution: true
keywords_en:
- ArticletoWikiPipeline
- CVE
- CVE-2026-13346
- library vulnerability
- pip
- PyPI
- PYSEC-2026-3721
- severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- software security
entities_en:
- name: ArticletoWikiPipeline
  type: artifact
- name: CVE
  type: data
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE
  type: data
- name: ArticletoWikiPipeline
  type: artifact
related_auto:
- name: 集団的免疫力
  type: concept
  weight: 1.0
computed_at: '2026-09-10T15:44:20Z'
---

# CVE-2026-13346 — pip

## TL;DR
pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk even when installing wheels.

## Key Points
- cve / CVE-2026-13346 / PYSEC-2026-3721 / severity:CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N / pip / PyPI

## Details
**Severity:** CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
**Advisory:** PYSEC-2026-3721 (CVE-2026-13346)

**Details:**
pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk even when installing wheels.




This vulnerability requires downloading or installing a package from a malicious package index to succeed, malicious packages alone are not able to exploit this vulnerability. Note that this vulnerability only materially impacts users running `pip download` with the `--only-binary` option as installing source distributions from an untrusted index is already an unsafe operation that executes code during install time.

**References:**
- http://www.openwall.com/lists/oss-security/2026/07/29/7
- https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/
- https://github.com/pypa/pip/pull/14110
- https://github.com/advisories/GHSA-qwm4-qh6w-59xr

_Data: OSV.dev (upstream: pypa) — https://osv.dev/vulnerability/PYSEC-2026-3721_

## Source
元記事: [CVE-2026-13346 — pip](https://osv.dev/vulnerability/PYSEC-2026-3721) — published 2026-07-29T19:16:44Z
