Directory Traversal Affecting python3.12-gitpython package, versions *


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.42% (34th 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-PYTHON312GITPYTHON-19415342
  • published28 Aug 2026
  • disclosed19 Aug 2026

Introduced: 19 Aug 2026

CVE-2026-76222  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

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

NVD Description

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

GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule names that GitPython processes during submodule initialization, creating attacker-controlled Git repositories at escaped filesystem locations.

CVSS Base Scores

version 3.1