Vulnerability

CVE-2026-76222

highCVSS 4.0 8.4Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Gitpython Project gitpython

Weakness type

References

  • github.com /gitpython-developers/GitPython/security/advisories/GHSA-hm…
  • www.vulncheck.com /advisories/gitpython-before-path-traversal-via-gitmodules-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning