Advisory record · GHSA-3f7w-8rr8-f37f

GitPython: Unguarded git option forwarding in IndexFile.checkout() and TagReference.create() enables arbitrary file overwrite and arbitrary file read

CVSS 7.2 HighEPSS 0.0057 · 47th percentile

Published by the GitHub Advisory Database at 3 Aug 2026, 20:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gitpythonPyPI<3.1.573.1.57
Identifiers
GHSA-3f7w-8rr8-f37f · CVE-2026-73620 · PYSEC-2026-3949
Weakness (CWE)
CWE-22 · CWE-73 · CWE-200
Published
3 Aug 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

GitPython versions before 3.1.57 are vulnerable to arbitrary file overwrite through IndexFile.checkout() and arbitrary file read through TagReference.create(), because caller-supplied git options such as --prefix and -F are passed to git without the usual safety check. An attacker who can influence the arguments to these methods, or the repository content they operate on, could write repository file contents to chosen paths or read files outside the repository. Upgrade to GitPython 3.1.57, which is the fixed version.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.2 High 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0057, the 47th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.