Vulnerability
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.
21 advisories report this vulnerability, across 10 ecosystems.
Advisories in Chainguard
- CGA-38rm-9gmc-gm8j
- CGA-5w76-w5jj-gcwr
- CGA-6w8q-f93h-h6g4
- CGA-9rr4-mj9r-vmr3
- CGA-jhrc-3hmx-rf9v
- CGA-jx52-m2x7-9qh2
- CGA-mfc4-cj8f-wf5j