cve.bz

CVE-2026-76218

7.7 highEPSS 0.7%

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

GitPython before 3.1.58 contains a remote code execution vulnerability in Repo.init that forwards unsafe git options without validation. Attackers can supply a template parameter pointing to a directory with malicious git hooks that execute arbitrary code when git operations are performed on the initialized repository.

Severity

CVSS 4.0

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

CVSS 3.1

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

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9rj7-rf2p-w77rPyPIgitpython<3.1.583.1.58
PYSEC-2026-3840PyPIgitpython<3.1.583.1.58

References

Check your stackJSON