Vulnerability Description
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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitpython Project | Gitpython | < 3.1.58 |
Related Weaknesses (CWE)
References
- https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-9rj7-ExploitVendor Advisory
- https://www.vulncheck.com/advisories/gitpython-before-remote-code-execution-via-Third Party Advisory
FAQ
What is CVE-2026-76218?
CVE-2026-76218 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 directo...
How severe is CVE-2026-76218?
CVE-2026-76218 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-76218?
Check the references section above for vendor advisories and patch information. Affected products include: Gitpython Project Gitpython.