---
schema_version: '1.0'
id: security-20260910-8e8bcb
title: CVE-2026-73619 — gitpython
url: https://osv.dev/vulnerability/PYSEC-2026-3948
url_hash: 8e8bcb4340803e1cee5d176a13e57e8c1fae1c7849ed808f588a008922862eb0
canonical_url: https://osv.dev/vulnerability/PYSEC-2026-3948
source: osv:pypa
category: security/library
category_raw: cve/library
region: null
tags:
- cve
- CVE-2026-73619
- PYSEC-2026-3948
- severity:CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/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:26Z'
fetched_at: '2026-09-10T15:44:17.920726Z'
updated_at: '2026-09-10T15:44:52Z'
status: published
content_hash: 9ab945a1763fa0a02e35741668ae283f03ae224cb4c8cf590d6a0badc398cfc2
content_changed_at: null
license_note: full
summary: 'GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options
  guard that omits --add-file and --add-virtual-file options. Attackers can supply
  these options to Repo.archive() to read arbitrary files from the filesystem and
  include them in the returned '
summary_source: rss
summary_en: 'GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options
  guard that omits --add-file and --add-virtual-file options. Attackers can supply
  these options to Repo.archive() to read arbitrary files from the filesystem and
  include them in the returned '
summary_omitted_reason: null
redistribution: true
keywords_en:
- CVE
- CVE-2026-73619
- gitpython
- library vulnerability
- PyPI
- PYSEC-2026-3948
- 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-73619 — gitpython

## TL;DR
GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned 

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

**Details:**
GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned archive.

**References:**
- https://www.vulncheck.com/advisories/gitpython-before-arbitrary-file-read-via-repo-archive
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-539m-9xh6-q6rr

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

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