Directory Traversal Affecting python311-GitPython package, versions <3.1.34.1693646983.2a2ae77-150400.9.8.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server 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-SLES156-PYTHON311GITPYTHON-19779580
  • published14 Sept 2026
  • disclosed8 Sept 2026

Introduced: 8 Sep 2026

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

How to fix?

Upgrade SLES:15.6 python311-GitPython to version 3.1.34.1693646983.2a2ae77-150400.9.8.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python311-GitPython package and not the python311-GitPython package as distributed by SLES. See How to fix? for SLES:15.6 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