---
schema_version: '1.0'
id: security-20260910-bc0762
title: CVE-2026-73623 — gitpython
url: https://osv.dev/vulnerability/PYSEC-2026-3952
url_hash: bc07621ce1f53880f2b061c09925dfcde31a67482505b125e89a3978ae05764a
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-3952
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-73623
- PYSEC-2026-3952
- severity:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- gitpython
- PyPI
lang: en
published_at: '2026-08-13T12:17:27Z'
fetched_at: '2026-09-10T15:44:17.932564Z'
updated_at: '2026-09-10T15:44:52Z'
status: published
content_hash: 1573be83422290e154633e6deb52c26e0e93e186a259e4c49e27e51305d19a0b
content_changed_at: null
license_note: full
summary: GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options
  that omits --template, allowing attackers to achieve arbitrary command execution
  during clone operations. Attackers can supply --template pointing to a directory
  containing malicious post-checkout
summary_source: rss
summary_en: GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options
  that omits --template, allowing attackers to achieve arbitrary command execution
  during clone operations. Attackers can supply --template pointing to a directory
  containing malicious post-checkout
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2026-73623
- gitpython
- library vulnerability
- PyPI
- PYSEC-2026-3952
- severity:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- 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:50Z'
---

# CVE-2026-73623 — gitpython

## TL;DR
GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout

## Key Points
- cve / CVE-2026-73623 / PYSEC-2026-3952 / severity:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H / gitpython / PyPI

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

**Details:**
GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout hooks that execute when git clones the repository.

**References:**
- https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-template
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-6p8h-3wgx-97gf

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

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