Live threats

All CVEs / Gitpython Project

CVE-2026-78675Gitpython Project Gitpython

High 8.6

Priority
52
CVSS 4.0
8.6
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: total
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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 fails to disable merge_includes when parsing .gitmodules, allowing attackers to disclose local file content by including arbitrary file paths via [include] directives. Attackers can craft a malicious .gitmodules file with include directives pointing to sensitive files; when repo.submodules is accessed, GitConfigParser raises MissingSectionHeaderError embedding the target file's first line verbatim in the exception 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-7833-fr7j-v32q, PYSEC-2026-3785). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gitpython_projectgitpython< 3.1.59

Official advisories

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

Official sources

References

Links published by the sources. Open them with care.