CVE-2026-78675 json
GitPython before 3.1.59 Local File Content Disclosure via .gitmodules
published 2026-08-25 2 mo ago modified 2026-10-12 28 d ago also GHSA-7833-fr7j-v32q , PYSEC-2026-3785 , EUVD-2026-65221
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi gitpython 3.1.59
- gitpython-developers GitPython 3.1.59
- python-git Debian 12 3.1.30-1+deb12u3
- python-git Debian 13 3.1.44-1+deb13u1
- python-git Debian 14 3.1.61-1
debian advisories DEBIAN-CVE-2026-78675
- python-GitPython SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 3.1.34.1693646983.2a2ae77-150400.9.8.1
suse advisories SUSE-SU-2026:4072-1
- python-GitPython openSUSE Leap 16.0 3.1.44-160000.4.1
opensuse advisories openSUSE-SU-2026:21874-1
- py3-gitpython Alpine 3.24 3.1.61-r0
alpine advisories ALPINE-CVE-2026-78675
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-78675 updated cvss 5.5
GitPython: GitPython: Local file content disclosure via malicious .gitmodules
-
Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9, exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat AI Inference Server rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9 Red Hat Ansible Automation Platform 2 python-gitpython, python3x-gitpython, python3.11-gitpython, python3.12-gitpython, automation-controller, ansible-automation-platform-24/hub-rhel8, +7 more Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-feature-server-rhel9, rhoai/odh-th-torch-cpu-py312-rhel9, rhoai/odh-th-torch-cuda-py312-rhel9, rhoai/odh-th-torch-rocm-py312-rhel9, rhoai/odh-th06-cpu-torch210-py312-rhel9, +23 moreaffected: workaround, no fix available “Fix deferred”
+3 more productsfewer
Red Hat OpenStack Platform 16.2 python3-GitPython, rhosp-rhel8/openstack-mistral-api, rhosp-rhel8/openstack-mistral-base, rhosp-rhel8/openstack-tripleoclient, rhosp-rhel8/openstack-mistral-engine, rhosp-rhel8/openstack-nova-scheduler, +2 more Red Hat OpenStack Platform 17.1 GitPython, python3-GitPython Red Hat Satellite 6 python-gitpython, python3.12-gitpython, satellite/iop-vmaas-rhel9, satellite/iop-vulnerability-engine-rhel9 -
Red Hat Hardened Images llvm, rust, llvm21, swift-langnot affected: component not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 mo ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | 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 |
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 8.6 | 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 |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | gitpython | <3.1.59 |
3.1.59 |
Affected products
- gitpython-developers GitPython
Classification
References
-
github.com
/gitpython-developers/GitPython/pull/2211
web
-
github.com
/gitpython-developers/GitPython/commit/ef7568e3b317ce617eacda39b8b54dcdff8c3b5c
web
-
github.com
/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q
vendor-advisory, exploit, web, mitigation, evidence
-
vulncheck.com
/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules
third-party-advisory, web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-78675
advisory
-
github.com
/gitpython-developers/GitPython
package
-
github.com
/gitpython-developers/GitPython/releases/tag/3.1.59
web
-
github.com
/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3785.yaml
web
Sources
- CVE List CVE-2026-78675
- GitHub Advisory GHSA-7833-fr7j-v32q
- NVD CVE-2026-78675
- OSV PYSEC-2026-3785
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.