External Control of File Name or Path Affecting python-gitpython package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.18% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PYTHONGITPYTHON-19757723
  • published13 Sept 2026
  • disclosed25 Aug 2026

Introduced: 25 Aug 2026

CVE-2026-78675  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 python-gitpython.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-gitpython package and not the python-gitpython package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1