Live threats

All CVEs / gitpython-developers

CVE-2026-78679gitpython-developers GitPython

High 7.1

Priority
43
CVSS 4.0
7.1
EPSS
—
Auth required
Yes
Published
Aug 25, 2026
Updated
Oct 12, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-73
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
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

What happens

GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file=<path> to read arbitrary files, with contents returned in the annotated tag message.

Original NVD text.

What to do

  1. Apply the vendor's security update for GitPython.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI gitpython < 3.1.59 3.1.59 pip install "gitpython>=3.1.59"
PyPI gitpython < 3.1.59 3.1.59 pip install "gitpython>=3.1.59"

Per OSV / GitHub Advisories (GHSA-3wxw-xv34-2frg, PYSEC-2026-3837). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: Red Hat (+4)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.