cve.bz

CVE-2026-76222

8.4 highEPSS 0.4%

High (8.4) in gitpython project gitpython. EPSS 0.4% chance of exploitation in the next 30 days. Fixed in gitpython 3.1.58.

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.

Severity

CVSS 4.0

8.4 high
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L
EPSS
0.4% chance of exploitation in the next 30 days; higher than 36% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hmq2-w58f-27jcPyPIgitpython<3.1.583.1.58
PYSEC-2026-3784PyPIgitpython<3.1.583.1.58

References

Check your stackJSON