---
schema_version: '1.0'
id: security-20260910-222e4f
title: CVE-2026-73625 — gitpython
url: https://osv.dev/vulnerability/PYSEC-2026-3953
url_hash: 222e4fa03e0999fbc6b7b1f2a6d4c3b28c4e64770778765bcd9e746863c457cb
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-3953
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-73625
- PYSEC-2026-3953
- severity:CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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.935323Z'
updated_at: '2026-09-10T15:52:22Z'
status: published
content_hash: 50b3a34067dc711caf301b5a7706f9877f31863ebc6e7ed856fa4fcdd44a5c90
content_changed_at: null
license_note: full
summary: 'GitPython versions before 3.1.54 contain a remote code execution vulnerability
  in the check_unsafe_options guard that can be bypassed by smuggling git options
  inside single-character kwarg values. Attackers can supply crafted option dictionaries
  to clone_from, fetch, pull, push, '
summary_source: rss
summary_en: 'GitPython versions before 3.1.54 contain a remote code execution vulnerability
  in the check_unsafe_options guard that can be bypassed by smuggling git options
  inside single-character kwarg values. Attackers can supply crafted option dictionaries
  to clone_from, fetch, pull, push, '
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2026-73625
- gitpython
- library vulnerability
- PyPI
- PYSEC-2026-3953
- 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:52:17Z'
---

# CVE-2026-73625 — gitpython

## TL;DR
GitPython versions before 3.1.54 contain a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, 

## Key Points
- cve / CVE-2026-73625 / PYSEC-2026-3953 / severity:CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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:H/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-3953 (CVE-2026-73625)

**Details:**
GitPython versions before 3.1.54 contain a remote code execution vulnerability in the check_unsafe_options guard that can be bypassed by smuggling git options inside single-character kwarg values. Attackers can supply crafted option dictionaries to clone_from, fetch, pull, push, ls_remote, iter_commits, blame, or archive methods to execute arbitrary OS commands via the --upload-pack parameter.

**References:**
- https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-kwarg-value-smuggling
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-r9mr-m37c-5fr3

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

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