Directory Traversal Affecting py3.14-gitpython package, versions <3.1.58-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-MINIMOSLATEST-PY314GITPYTHON-19525516
  • published4 Sept 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?

Upgrade Minimos:latest py3.14-gitpython to version 3.1.58-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream py3.14-gitpython package and not the py3.14-gitpython package as distributed by Minimos. See How to fix? for Minimos:latest 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