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 disclosure of the first line of arbitrary local files readable by the victim process. An attacker can place a crafted .gitmodules file in a repository; when a victim lists its submodules with repo.submodules, GitPython follows an [include] directive pointing at the target file and raises an exception that includes that file's first line. Upgrade to GitPython 3.1.59 or later.
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
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.6 | High | 4.0 | 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 (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0018, the 7th percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:09 UTC First seen by agentprime
- 31 Oct 2026, 14:09 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-7833-fr7j-v32q
- OSV: GHSA-7833-fr7j-v32q
- github.com/gitpython-developers/GitPython/security/advisories/GHSA-7833-fr7j-v32q
- nvd.nist.gov/vuln/detail/CVE-2026-78675
- github.com/gitpython-developers/GitPython/pull/2211
- github.com/gitpython-developers/GitPython/commit/ef7568e3b317ce617eacda39b8b54dcdff8c3b5c
- github.com/gitpython-developers/GitPython
- github.com/gitpython-developers/GitPython/releases/tag/3.1.59
- github.com/pypa/advisory-database/tree/main/vulns/gitpython/PYSEC-2026-3785.yaml
- www.vulncheck.com/advisories/gitpython-before-local-file-content-disclosure-via-gitmodules