Vulnerability in Gitpython-Developers Gitpython

CVE-2026-76218

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.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-76218?
CVE-2026-76218 is a high-severity vulnerability in Gitpython-Developers Gitpython, classified under Argument Injection. CVSS score: 7.5/10. Published 2026-08-19.
How severe is CVE-2026-76218?
High severity. CVSS v3 base score is 7.5 out of 10.