Advisory record · GHSA-3wxw-xv34-2frg

GitPython: TagReference.create positional reference bypasses kwargs-only --file guard, enabling arbitrary file read (incomplete fix of 3af0c251)

CVSS 7.1 HighEPSS 0.0032 · 24th percentile

Published by the GitHub Advisory Database at 8 Sept 2026, 19:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
gitpythonPyPI<3.1.593.1.59
Identifiers
GHSA-3wxw-xv34-2frg · CVE-2026-78679 · PYSEC-2026-3837
Weakness (CWE)
CWE-73 · CWE-88 · CWE-200
Published
8 Sept 2026
Updated
23 Sept 2026

Machine-written summary

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

GitPython versions before 3.1.59 are vulnerable to arbitrary local file read through TagReference.create(), where a caller-supplied positional reference value such as a file option bypasses the unsafe-option guard meant to block --file and -F. An attacker who can influence the reference value passed by an application that uses the default settings can read a file the host process can access, and its contents are returned in the annotated tag message. Upgrade to GitPython 3.1.59, which is the listed 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.1 High 4.0 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0032, the 24th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:09 UTC First seen by agentprime
  2. 31 Oct 2026, 14:09 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.