CVE-2026-76218: Gitpython Project Gitpython

High severity, CVSS 8.8. EPSS: 0.8% chance of exploitation in the next 30 days.

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.

Affected products

Published 2026-08-19. Last modified 2026-09-03.