---
schema_version: '1.0'
id: security-20260910-d151a2
title: CVE-2026-73620 — gitpython
url: https://osv.dev/vulnerability/PYSEC-2026-3949
url_hash: d151a286a249c280d2fc6c1018f1427337e8e7ffb82893295af54fd4efd2a623
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-3949
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-73620
- PYSEC-2026-3949
- severity:CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- gitpython
- PyPI
lang: en
published_at: '2026-08-13T12:17:27Z'
fetched_at: '2026-09-10T15:44:17.923820Z'
updated_at: '2026-09-10T15:44:52Z'
status: published
content_hash: 58f6ab79d037b5dd4740d503e3076aa0329b37b26ddef7ce6ba09af0c016306d
content_changed_at: null
license_note: full
summary: GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout()
  and TagReference.create(), allowing attackers to pass unsafe options via kwargs.
  Attackers can use --prefix to overwrite arbitrary files with repository content
  or -F to read arbitrary files retu
summary_source: rss
summary_en: GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout()
  and TagReference.create(), allowing attackers to pass unsafe options via kwargs.
  Attackers can use --prefix to overwrite arbitrary files with repository content
  or -F to read arbitrary files retu
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2026-73620
- gitpython
- library vulnerability
- PyPI
- PYSEC-2026-3949
- software security
entities_en:
- name: CVE
  type: data
topics_en:
- library vulnerability
- software security
numeric_facts: []
entities:
- name: CVE
  type: data
key_facts: []
related: []
related_auto:
- name: 集団的免疫力
  type: concept
  weight: 1.0
computed_at: '2026-09-10T15:44:48Z'
---

# CVE-2026-73620 — gitpython

## TL;DR
GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files retu

## Key Points
- cve / CVE-2026-73620 / PYSEC-2026-3949 / severity:CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X / gitpython / PyPI

## Details
**Severity:** CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
**Advisory:** PYSEC-2026-3949 (CVE-2026-73620)

**Details:**
GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files returned in-band.

**References:**
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-overwrite-and-read
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-3f7w-8rr8-f37f

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

## Source
元記事: [CVE-2026-73620 — gitpython](https://osv.dev/vulnerability/PYSEC-2026-3949) — published 2026-08-13T12:17:27Z
